mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Add workflow that responds to PRs
This commit is contained in:
2
.github/workflows/new-issue.yml
vendored
2
.github/workflows/new-issue.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Send issue to Gitter
|
- name: Send issue to Gitter
|
||||||
id: replace-version
|
id: issue-gitter
|
||||||
uses: JC5/firefly-iii-dev@main
|
uses: JC5/firefly-iii-dev@main
|
||||||
with:
|
with:
|
||||||
action: 'ff3:post-to-gitter issue'
|
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 }}
|
Reference in New Issue
Block a user