Skip to content

Commit 92b3358

Browse files
committed
Attempt 7
1 parent 4873017 commit 92b3358

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ jobs:
5454
- name: Install Devcontainer CLI
5555
run: npm install -g @devcontainers/cli
5656

57-
- name: Debug GITHUB_TOKEN permissions for user and repository
57+
- name: Debug GITHUB_TOKEN permissions
5858
run: |
59-
echo "Testing GITHUB_TOKEN permissions for user namespace..."
59+
echo "Checking GITHUB_TOKEN authentication..."
6060
curl -s -w "\nHTTP_STATUS: %{http_code}\n" \
6161
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
6262
-H "Accept: application/vnd.github+json" \
63-
"https://api.github.com/user/packages?package_type=container" > user_packages.json
64-
cat user_packages.json
63+
"https://api.github.com/user" > user_info.json
64+
cat user_info.json
6565
66-
echo "Testing GITHUB_TOKEN permissions for repository packages..."
66+
echo "Testing repository packages..."
6767
curl -s -w "\nHTTP_STATUS: %{http_code}\n" \
6868
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
6969
-H "Accept: application/vnd.github+json" \

0 commit comments

Comments
 (0)