We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e56dd commit 415e3f8Copy full SHA for 415e3f8
.github/workflows/run-against-environment.yaml
@@ -0,0 +1,22 @@
1
+name: Run with Approval
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ build:
11
+ runs-on: hs-small
12
+ steps:
13
+ - name: Build
14
+ run: |
15
+ echo "Can run anytime, without limitations..."
16
+ against-test-environment-1-only:
17
18
+ environment: test-environment-1
19
20
21
22
+ echo "This will only run against production, and will obey any rules in place..."
README.md
@@ -1,2 +1,3 @@
# gha-environment-restrictions-testing
-A test repository for experimenting with environment restrictions
+This is a test repository to demonstrate how environment restrictions work within GitHub Actions.
0 commit comments