Skip to content

Commit

Permalink
Merge pull request #13 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 a21c384 + 6b93448 commit 65bcb07
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 @@ -23,12 +23,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 65bcb07

Please sign in to comment.