Skip to content

Allow dynamic selectors to choose the class to perform member lookups in #29

Allow dynamic selectors to choose the class to perform member lookups in

Allow dynamic selectors to choose the class to perform member lookups in #29

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/pr-target-branch-action@v2.1
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.