We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 052a5bc commit 17ce188Copy full SHA for 17ce188
.github/workflows/debug-docs-automation-access.yml
@@ -12,8 +12,14 @@ jobs:
12
- name: Check access to docs-automation workflow file
13
env:
14
TARGET_URL: https://api.github.com/repos/digitalocean/docs-automation/contents/.github/workflows/slack-merge-reaction.yml?ref=main
15
+ GITHUB_TOKEN: ${{ github.token }}
16
run: |
17
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
23
STATUS=$(curl -s -o /tmp/resp.json -w "%{http_code}" \
24
-H "Authorization: Bearer $GITHUB_TOKEN" \
25
-H "Accept: application/vnd.github+json" \
0 commit comments