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 7138815 commit 6b93448
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ on:
schedule:
- cron: '0 13 * * 2,3'

permissions: {}

jobs:
dispatch-ci:
name: Dispatch CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
permissions:
contents: read
actions: write
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1
Expand Down

0 comments on commit 6b93448

Please sign in to comment.