Skip to content

Commit 5720ab7

Browse files
🩹 [Enhancement]: Add curl test and GitHub CLI command for repository access permissions in workflow
1 parent a028e9d commit 5720ab7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎.github/workflows/TestWorkflow.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,7 @@ jobs:
8585
LogGroup "curl test" {
8686
curl -H "Authorization: Bearer $env:GITHUB_TOKEN" https://api.github.com/repos/${{ github.repository }}
8787
}
88+
89+
LogGroup "repo access" {
90+
gh api repos/${{ github.repository }}/actions/permissions
91+
}

0 commit comments

Comments
 (0)