Skip to content

Commit

Permalink
make sure we use octokit callwq
Browse files Browse the repository at this point in the history
  • Loading branch information
Crebs committed Jan 22, 2025
1 parent 7365da1 commit 695fece
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
runs-on: macos-15
steps:
- name: Write Permissions Check
uses: octokit/[email protected]
id: check_permissions
with:
route: GET /repos/${{ github.repository }}/collaborators/${{ github.actor }}/permission
run: |
permission=$(echo "${{ fromJson(steps.check_permissions.outputs.data).permission }}")
echo "Testing User ${{ github.actor }} has permissions: $permissions"
Expand Down Expand Up @@ -49,6 +53,10 @@ jobs:
libs: ${{ steps.test-orchestrator.outputs.libs }}
steps:
- name: Write Permissions Check
uses: octokit/[email protected]
id: check_permissions
with:
route: GET /repos/${{ github.repository }}/collaborators/${{ github.actor }}/permission
run: |
permission=$(echo "${{ fromJson(steps.check_permissions.outputs.data).permission }}")
echo "User ${{ github.actor }} has permissions: $permissions"
Expand Down

0 comments on commit 695fece

Please sign in to comment.