chore: add self assign

This commit is contained in:
TonyRL
2022-05-23 12:24:26 +00:00
committed by Tony
parent c315673990
commit 82a6b98e7e
@@ -1,4 +1,4 @@
name: Automatic Rebase
name: Issue Command
on:
issue_comment:
@@ -9,6 +9,7 @@ permissions:
jobs:
rebase:
name: Automatic Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') && github.event.comment.author_association == 'COLLABORATOR'
runs-on: ubuntu-latest
steps:
@@ -20,3 +21,17 @@ jobs:
uses: cirrus-actions/rebase@1.7
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_SUPER }}
self-assign:
name: Self Assign
if: github.event.issue.pull_request == '' && startsWith(github.event.comment.body, '/wip')
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: bhermann/issue-volunteer@v0.1.20
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
assign_phrase: '/wip'
label_phase1: RSS proposal
label_phase2: RSS bug