Skip to content

Commit cbcaaf2

Browse files
committed
ci: throwaway check that only main enters the approver environment
1 parent 51ff463 commit cbcaaf2

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: approver deny check (throwaway)
2+
# Proves that a branch other than main cannot enter the approver environment.
3+
on:
4+
push:
5+
branches: [tmp/approver-deny-check]
6+
permissions: {}
7+
jobs:
8+
probe:
9+
runs-on: ubuntu-latest
10+
environment: approver
11+
steps:
12+
- run: echo "entered the approver environment"

0 commit comments

Comments
 (0)