Bump @tanstack/react-query from 5.49.2 to 5.50.1 in /src/frontend #825
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 PR target branch" | |
on: | |
pull_request: | |
types: [opened, reopened, edited] | |
pull_request_target: | |
jobs: | |
check_branch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check target branch (main) | |
if: github.base_ref == 'main' && github.head_ref != 'test' | |
run: | | |
echo "ERROR: You can only merge to main from test" | |
exit 1 | |
- name: Check target branch (test) | |
if: github.base_ref == 'test' && github.head_ref != 'dev' | |
run: | | |
echo "ERROR: You can only merge to test from dev" | |
exit 1 |