Create obfuscation-explorer project #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make sure PRs target the dev branch | |
on: | |
pull_request_target: | |
types: [opened, edited] | |
jobs: | |
check-branch: | |
runs-on: ubuntu-latest | |
steps: | |
# Do not check out the repository here. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ | |
- uses: Vankka/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
target: /\d+\.\d/ | |
exclude: dev | |
change-to: dev | |
already-exists-action: nothing | |
comment: | | |
New PRs should target the `dev` branch. The base branch of this PR has been automatically changed to `dev`. | |
Please check that there are no merge conflicts. | |