Skip to content

Commit 5164144

Browse files
committed
fix: echo github cotext
1 parent 0a32cfc commit 5164144

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/updateNotification.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ jobs:
1313
contents: write
1414
pull-requests: write
1515
steps:
16-
- name: Dump GitHub context
16+
- name: Print GitHub context
17+
uses: actions/github-script@v5
18+
with:
19+
script: |
20+
console.log(JSON.stringify(github, null, 2))
21+
- name: GitHub REF
1722
id: github_context_step
18-
env:
19-
GITHUB_CONTEXT_ECHO: ${{ toJson(github) }}
2023
run: |
21-
echo '$GITHUB_CONTEXT_ECHO'
2224
echo "$GITHUB_REF repo=${{github.event.repository.full_name}}"
2325
2426
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)