Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e8afc25c
authored
Sep 09, 2025
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: remove PR branching strategy workflow file
parent
e2c2d182
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
.github/workflows/pr-target-branch-check.yml
+0
-22
No files found.
.github/workflows/pr-target-branch-check.yml
deleted
100644 → 0
View file @
e2c2d182
name
:
Check PR Branching Strategy
on
:
pull_request
:
types
:
[
opened
,
synchronize
,
reopened
,
edited
]
jobs
:
check-branching-strategy
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Enforce branching strategy
run
:
|
if [[ "${{ github.base_ref }}" == "main" ]]; then
if [[ "${{ github.head_ref }}" != "alpha" ]]; then
echo "Error: Pull requests to 'main' are only allowed from the 'alpha' branch."
exit 1
fi
elif [[ "${{ github.base_ref }}" != "alpha" ]]; then
echo "Error: Pull requests must be targeted to the 'alpha' or 'main' branch."
exit 1
fi
echo "Branching strategy check passed."
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment