Add workflow that responds to PRs

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

View File

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Send issue to Gitter
id: replace-version
id: issue-gitter
uses: JC5/firefly-iii-dev@main
with:
action: 'ff3:post-to-gitter issue'

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

@ -0,0 +1,23 @@
name: "PRs - Post to Gitter"
on:
pull_request:
types:
- opened
jobs:
post-to-gitter:
runs-on: ubuntu-latest
steps:
- name: Send PR to Gitter
id: issue-gitter
uses: JC5/firefly-iii-dev@main
with:
action: 'ff3:post-to-gitter pr'
output: ''
env:
FIREFLY_III_ROOT: /github/workspace
GH_TOKEN: ""
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_TITLE: ${{ github.event.pull_request.title }}
PR_USER: ${{ github.event.pull_request.user.login }}
REPOSITORY: "firefly-iii/firefly-iii"
GITTER_TOKEN: ${{ secrets.GITTER_TOKEN }}