Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 863e039

Browse files
committed
first gate checks deploy-staging not staging-workflow file
1 parent 7fdbfe1 commit 863e039

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ steps:
4949
actions:
5050
- type: getFileContents
5151
action_id: fileContents
52-
filename: '.github/workflows/staging-workflow.yml'
52+
filename: '.github/workflows/deploy-staging.yml'
5353
required: false
5454

5555
# We validate that trigger is correct
@@ -66,7 +66,7 @@ steps:
6666
- type: respond
6767
with: 0Xe_unexpected.md
6868
data:
69-
expected: commit the file `.github/workflows/staging-workflow.yml` and a `pull_request` trigger on the `staging-workflow` branch
69+
expected: commit the file `.github/workflows/deploy-staging.yml` and a `[labeled]` trigger on the `staging-workflow` branch
7070

7171
# Step 2: Trigger a job on specific labels
7272

@@ -82,7 +82,7 @@ steps:
8282
actions:
8383
- type: getFileContents
8484
action_id: fileContents
85-
filename: '.github/workflows/staging-workflow.yml'
85+
filename: '.github/workflows/deploy-staging.yml'
8686
required: false
8787

8888
# We validate
@@ -94,7 +94,7 @@ steps:
9494
- type: respond
9595
with: 0Xe_unexpected.md
9696
data:
97-
expected: "the conditional `if: contains(github.event.pull_request.labels.*.name, 'stage')` in the `.github/workflows/staging-workflow.yml` file"
97+
expected: "the conditional `if: contains(github.event.pull_request.labels.*.name, 'stage')` in the `.github/workflows/deploy-staging.yml` file"
9898

9999

100100
# Step 3: Write the steps for the staging workflow

0 commit comments

Comments
 (0)