Skip to content

Commit

Permalink
Add workflow that provides command to test branch when PR is submitted
Browse files Browse the repository at this point in the history
Signed-off-by: rany <ranygh@riseup.net>
  • Loading branch information
rany2 committed Jul 5, 2023
1 parent 09be436 commit a4b3173
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/setup_sh_instruct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: pull_request

jobs:
setup_sh_instruct:
name: Provide instructions to install cake-autorate for PR branch
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Comment PR with setup.sh instructions
uses: thollander/actions-comment-pull-request@v2
with:
message: |
To test this branch, run:
```
sh /root/cake-autorate/setup.sh ${{ github.repository }} ${{ github.head_ref }}
```

0 comments on commit a4b3173

Please sign in to comment.