diff --git a/.github/workflows/rebase.yml b/.github/workflows/issue-command.yml similarity index 52% rename from .github/workflows/rebase.yml rename to .github/workflows/issue-command.yml index 4f8b7a6d19..49ee4e93c5 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/issue-command.yml @@ -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