File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" \
You can’t perform that action at this time.
0 commit comments