first draft of OxApp with extension companion traits #187
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On any comment, it will look for '/rebase' in the comment body and in case of hit, it dispatches rebase cmd | |
# with event type 'rebase-command' which triggers 'rebase-command` WF that performs the rebase operation. | |
name: Slash Command Dispatch | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
slashCommandDispatch: | |
# to fast-skip for typical, non-rebase comments | |
if: contains(github.event.comment.body, '/rebase') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Slash Command Dispatch | |
uses: peter-evans/slash-command-dispatch@v4 | |
with: | |
token: ${{ secrets.REPO_GITHUB_TOKEN }} | |
commands: rebase | |
permission: write | |
issue-type: pull-request |