mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-25 10:20:29 -06:00
Add workflow that responds to PRs
This commit is contained in:
parent
075a360ba6
commit
bbec28591f
2
.github/workflows/new-issue.yml
vendored
2
.github/workflows/new-issue.yml
vendored
@ -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
23
.github/workflows/new-pr.yml
vendored
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user