Skip to content

Firefly III: a personal finances manager

Add new workflow for issue thing.

James Cole075a360ba61e
diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml
index 5f66bd519e..6cd197bb3d 100644
--- a/.github/workflows/cleanup.yml
+++ b/.github/workflows/cleanup.yml
@@ -65,6 +65,7 @@ jobs:
'depsreview.yml',
'label-actions.yml',
'lock.yml',
+ 'new-issue.yml',
'release.yml',
'sonarcloud.yml',
'stale.yml'
diff --git a/.github/workflows/new-issue.yml b/.github/workflows/new-issue.yml
new file mode 100644
index 0000000000..0ff6b13114
--- /dev/null
+++ b/.github/workflows/new-issue.yml
@@ -0,0 +1,23 @@
+name: "Issues - Post to Gitter"
+on:
+ issues:
+ types:
+ - opened
+jobs:
+ post-to-gitter:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Send issue to Gitter
+ id: replace-version
+ uses: JC5/firefly-iii-dev@main
+ with:
+ action: 'ff3:post-to-gitter issue'
+ output: ''
+ env:
+ FIREFLY_III_ROOT: /github/workspace
+ GH_TOKEN: ""
+ ISSUE_NUMBER: ${{ github.event.issue.number }}
+ ISSUE_TITLE: ${{ github.event.issue.title }}
+ ISSUE_USER: ${{ github.event.issue.user.login }}
+ REPOSITORY: "firefly-iii/firefly-iii"
+ GITTER_TOKEN: ${{ secrets.GITTER_TOKEN }}