Skip to content

Fix error message selection condition (#3037) #17

Fix error message selection condition (#3037)

Fix error message selection condition (#3037) #17

name: Warn on opening a PR to `release`

Check failure on line 1 in .github/workflows/pr-create-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-create-release.yml

Invalid workflow file

(Line: 11, Col: 9): Unexpected symbol: '"Release'. Located at position 67 within expression: github.actor != 'JAForbes' || !contains(github.event.issue.title, "Release - v")
on:
pull_request_target:
types: [opened]
branches: [release]
permissions:
issues: write
jobs:
comment:
# Don't auto-close actual release PRs
if: ${{github.actor != 'JAForbes' || !contains(github.event.issue.title, "Release - v")}}
uses: MithrilJS/infra/.github/workflows/reject-pr.yml@main
secrets: inherit