Skip to content

Commit

Permalink
Upgrade contributor check perms (#194)
Browse files Browse the repository at this point in the history
* Upgraded read permissions for contributor check

* Bug fix

* Another fix

* Changed secret that's used

---------

Co-authored-by: Boppy <no-reply@boppygames.gg>
  • Loading branch information
jdetter and Boppy authored Aug 16, 2023
1 parent 4ebbc51 commit 0f1fdf6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/contributor_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ name: CI
on:
pull_request:
types: [opened, synchronize]
permissions: read-all

jobs:
check_membership:
name: Contributor Membership Check
runs-on: ubuntu-latest
runs-on: spacetimedb-runner
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -24,5 +25,5 @@ jobs:
- name: Verify author is contributor
run: node .github/scripts/checkMembership.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ORG_READ_TOKEN }}

0 comments on commit 0f1fdf6

Please sign in to comment.