Fix GitHub actions to work a little better

This commit is contained in:
Claudia Meadows 2024-09-02 10:12:15 -07:00
parent a4db1a1116
commit 57c331c6b4
No known key found for this signature in database
GPG key ID: C86B594396786760
9 changed files with 102 additions and 70 deletions

View file

@ -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`? ⚠⚠⚠