Skip to content

Commit

Permalink
Merge pull request #27 from creative-commoners/pulls/1.0/action-permi…
Browse files Browse the repository at this point in the history
…ssions

DOC Document required permissions
  • Loading branch information
GuySartorelli authored May 14, 2024
2 parents a916991 + ca2d6d7 commit 4cf3ac3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@ on:
- cron: '0 0 1 */3 *'
workflow_dispatch:

permissions: {}

jobs:
update-js:
# Only run the cron on the account hosting this repository, not on the accounts of forks
# Change '<account_name>' to match the name of the account hosting this repository
if: (github.event_name == 'schedule' && github.repository_owner == '<account_name>') || (github.event_name != 'schedule')
name: Update JS
runs-on: ubuntu-latest
permissions:
contents: write
pull-request: write
actions: write
steps:
- name: Update JS
uses: silverstripe/gha-update-js@v1
Expand Down

0 comments on commit 4cf3ac3

Please sign in to comment.