Skip to content

Commit d50843a

Browse files
committed
Remove pr-target-test job
1 parent ea7d152 commit d50843a

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,7 @@ on:
88
pull_request:
99

1010
jobs:
11-
pr-target-test:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- name: Fail if target is not staging (for PRs only)
15-
if: github.event_name == 'pull_request'
16-
run: |
17-
if [[ "${{ github.event.pull_request.base.ref }}" != "main" || "${{ github.event.pull_request.head.ref }}" == "staging" ]]; then
18-
echo "Target branch is acceptable."
19-
else
20-
echo "Only PRs from staging can target main."
21-
exit 1
22-
fi
11+
2312

2413
tests:
2514
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)