Add new workflow for issue thing.

This commit is contained in:
James Cole 2024-05-21 20:20:06 +02:00
parent a6265ce8ab
commit 075a360ba6
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
2 changed files with 24 additions and 0 deletions

View File

@ -65,6 +65,7 @@ jobs:
'depsreview.yml', 'depsreview.yml',
'label-actions.yml', 'label-actions.yml',
'lock.yml', 'lock.yml',
'new-issue.yml',
'release.yml', 'release.yml',
'sonarcloud.yml', 'sonarcloud.yml',
'stale.yml' 'stale.yml'

23
.github/workflows/new-issue.yml vendored Normal file
View File

@ -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 }}