Skip to content

Commit

Permalink
Set permissions for julia-actions/cache@v2 action
Browse files Browse the repository at this point in the history
  • Loading branch information
terasakisatoshi committed Nov 12, 2024
1 parent 7eabaa9 commit ebe53c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ concurrency:
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand Down

0 comments on commit ebe53c2

Please sign in to comment.