Skip to content

Commit

Permalink
DOC Document required permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Apr 16, 2024
1 parent a916991 commit ca2d6d7
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 ca2d6d7

Please sign in to comment.