mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-22 08:56:39 -06:00
New action for issues.
This commit is contained in:
parent
136fe8e8eb
commit
d3ed8c6f0f
1
.github/workflows/cleanup.yml
vendored
1
.github/workflows/cleanup.yml
vendored
@ -57,6 +57,7 @@ jobs:
|
||||
const workflows = [
|
||||
'cleanup.yml',
|
||||
'closed-issues.yml',
|
||||
'debug-info-actions.yml',
|
||||
'depsreview.yml',
|
||||
'label-actions.yml',
|
||||
'lock.yml',
|
||||
|
29
.github/workflows/debug-info-actions.yml
vendored
Normal file
29
.github/workflows/debug-info-actions.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: 'Issues - respond to hidden commands'
|
||||
|
||||
# the workflow to execute on is comments that are newly created
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
# permissions needed for reacting to IssueOps commands on issues and PRs
|
||||
permissions:
|
||||
pull-requests: write
|
||||
issues: write
|
||||
checks: read
|
||||
|
||||
jobs:
|
||||
demo:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: github/command@v1.1.0
|
||||
id: command
|
||||
with:
|
||||
command: ".eOxNZAmyGz6CXMyf"
|
||||
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_REPO: ${{ github.repository }}
|
||||
NUMBER: ${{ github.event.issue.number }}
|
||||
LABELS: v2-layout-issue
|
Loading…
Reference in New Issue
Block a user