Define permissions in workflows and update actions

This commit is contained in:
Josh Gross
2025-01-28 16:50:07 -05:00
parent c94e1c45ff
commit 19e58d8525
10 changed files with 41 additions and 56 deletions

View File

@@ -8,12 +8,15 @@ on:
branches:
- main
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
name: Check licenses
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # prefer to use a full fetch for licensed workflows
# https://github.com/jonabc/setup-licensed/releases/tag/v1.1.1