Skip to content

Firefly III: a personal finances manager

New action for issues.

James Coled3ed8c6f0f00
diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml
index 6373796287..b458fb0489 100644
--- a/.github/workflows/cleanup.yml
+++ b/.github/workflows/cleanup.yml
@@ -57,6 +57,7 @@ jobs:
const workflows = [
'cleanup.yml',
'closed-issues.yml',
+ 'debug-info-actions.yml',
'depsreview.yml',
'label-actions.yml',
'lock.yml',
diff --git a/.github/workflows/debug-info-actions.yml b/.github/workflows/debug-info-actions.yml
new file mode 100644
index 0000000000..3ff1991198
--- /dev/null
+++ b/.github/workflows/debug-info-actions.yml
@@ -0,0 +1,29 @@
+name: 'Issues - respond to hidden commands'
+
+# the workflow to execute on is comments that are newly created
+on:
+ issues:
+ types: [opened, edited]
+ issue_comment:
+ types: [created]
+
+# permissions needed for reacting to IssueOps commands on issues and PRs
+permissions:
+ pull-requests: write
+ issues: write
+ checks: read
+
+jobs:
+ demo:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: github/[email protected]
+ id: command
+ with:
+ command: ".eOxNZAmyGz6CXMyf"
+ - run: gh issue edit "$NUMBER" --add-label "$LABELS"
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GH_REPO: ${{ github.repository }}
+ NUMBER: ${{ github.event.issue.number }}
+ LABELS: v2-layout-issue