Fix GitHub actions to work a little better
This commit is contained in:
parent
a4db1a1116
commit
57c331c6b4
9 changed files with 102 additions and 70 deletions
12
.github/workflows/push-master.yml
vendored
12
.github/workflows/push-master.yml
vendored
|
|
@ -7,11 +7,7 @@ permissions:
|
|||
issues: write
|
||||
jobs:
|
||||
comment:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
gh issue comment ${{ github.event.pull_request.url }} \
|
||||
--body '⚠⚠⚠ Hey @${{ github.actor }}, did you mean to open this against `next`? ⚠⚠⚠'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: Post alert comment
|
||||
uses: ./.github/workflows/_post-comment.yml
|
||||
with:
|
||||
url: ${{ github.event.pull_request.url }}
|
||||
message: ⚠⚠⚠ Hey @${{ github.actor }}, did you mean to open this against `next`? ⚠⚠⚠
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue