mithril-vndb/.github/workflows/push-master.yml
Claudia Meadows 1b0899b469
Migrate to Node 20, clean up workflows (#2902)
Tests still appear to fail per #2898. Unfortunately, I need actions/runner#2347 to ignore the test failures properly - I need them to be warnings, not hard errors.
2024-09-23 04:54:05 -07:00

17 lines
469 B
YAML

name: Warn on pushing to `master`
on:
pull_request:
types: [opened]
branches: [master]
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