Skip to content

Commit

Permalink
Change permissions check to use repository variable
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Nov 9, 2024
1 parent e334deb commit 7247219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/diffcalc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
check-permissions:
name: Check permissions
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || (contains(github.event.comment.body, '!diffcalc') && contains(fromJSON('["smoogipoo", "peppy", "bdach", "frenzibyte"]'), github.actor)) }}
if: ${{ github.event_name == 'workflow_dispatch' || (contains(github.event.comment.body, '!diffcalc') && contains(split(vars.DIFFCALC_USERS, '\n'), github.actor)) }}

run-diffcalc:
name: Run spreadsheet generator
Expand Down

0 comments on commit 7247219

Please sign in to comment.