This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
Sync with latest solidity #90
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: Check branch | |
on: | |
pull_request_target: # Do not combine with explicit checkout for security reasons | |
types: [opened] # Not triggering on "edited" to allow a forced path to main | |
jobs: | |
check-branch: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Vankka/pr-target-branch-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
target: main | |
exclude: dev # Don't prevent going from development -> main | |
change-to: dev | |
comment: | | |
Your PR was set to target `main`. PRs should be target `dev`. | |
The base branch of this PR has been automatically changed to `dev`. | |
If you really intend to target `main`, edit the PR. |