Skip to content

Commit 17ce188

Browse files
authored
Workflow debug (#33)
* clean up merge reaction * more debugging
1 parent 052a5bc commit 17ce188

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/debug-docs-automation-access.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ jobs:
1212
- name: Check access to docs-automation workflow file
1313
env:
1414
TARGET_URL: https://api.github.com/repos/digitalocean/docs-automation/contents/.github/workflows/slack-merge-reaction.yml?ref=main
15+
GITHUB_TOKEN: ${{ github.token }}
1516
run: |
1617
echo "Requesting: $TARGET_URL"
18+
if [ -z "$GITHUB_TOKEN" ]; then
19+
echo "GITHUB_TOKEN is EMPTY"
20+
else
21+
echo "GITHUB_TOKEN length: ${#GITHUB_TOKEN}"
22+
fi
1723
STATUS=$(curl -s -o /tmp/resp.json -w "%{http_code}" \
1824
-H "Authorization: Bearer $GITHUB_TOKEN" \
1925
-H "Accept: application/vnd.github+json" \

0 commit comments

Comments
 (0)