We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f1716b commit 052a5bcCopy full SHA for 052a5bc
.github/workflows/debug-docs-automation-access.yml
@@ -0,0 +1,23 @@
1
+name: Debug Docs-Automation Access
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ access-check:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: read
11
+ steps:
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
+ run: |
16
+ echo "Requesting: $TARGET_URL"
17
+ STATUS=$(curl -s -o /tmp/resp.json -w "%{http_code}" \
18
+ -H "Authorization: Bearer $GITHUB_TOKEN" \
19
+ -H "Accept: application/vnd.github+json" \
20
+ "$TARGET_URL")
21
+ echo "HTTP status: $STATUS"
22
+ echo "Response:"
23
+ cat /tmp/resp.json
0 commit comments