Skip to content

Commit 3e69020

Browse files
committed
updated exercise to do check if step1 is enabled and visible
1 parent 961f6cd commit 3e69020

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/0-start-exercise.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ jobs:
9393
env:
9494
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9595

96-
- name: Confirm Step 1 is enabled
97-
run: gh workflow view "Step 1" --json state
96+
- name: Confirm workflows visible and enabled
97+
run: |
98+
echo "Listing all workflows:"
99+
gh workflow list
100+
echo "Checking Step 1 YAML:"
101+
gh workflow view "Step 1" --yaml
98102
env:
99-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)