Skip to content

Commit e592fb4

Browse files
committed
add success check
1 parent af09dbf commit e592fb4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/04-advanced-features--04-github-permissions.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
6161
- name: Confirm the failure
6262
if: failure()
63-
run: echo " Write operation was blocked as expected – token is read-only."
63+
run: echo " Write operation was blocked as expected – token is read-only."
6464

6565
read-write-pr:
6666
runs-on: ubuntu-24.04
@@ -79,3 +79,7 @@ jobs:
7979
GH_TOKEN: ${{ github.token }}
8080
run: |
8181
gh pr edit 1 --add-label "documentation"
82+
- name: Confirm the
83+
84+
if: success()
85+
run: echo "✅ Write operation succeeded!"

0 commit comments

Comments
 (0)