Add permissions declarations

pull/286/head
Josh Soref 2024-01-31 02:41:19 -05:00
parent ffa637dcd4
commit c3c8e4145a
4 changed files with 13 additions and 0 deletions

View File

@ -6,6 +6,9 @@
# We need to make sure the checked-in `index.js` actually matches what we expect it to be. # We need to make sure the checked-in `index.js` actually matches what we expect it to be.
name: Check dist/ name: Check dist/
permissions:
contents: read
on: on:
push: push:
branches: branches:

View File

@ -1,5 +1,9 @@
name: "Code scanning - action" name: "Code scanning - action"
permissions:
contents: read
security-events: write
on: on:
push: push:
branches-ignore: "dependabot/**" branches-ignore: "dependabot/**"

View File

@ -1,5 +1,8 @@
name: Licensed name: Licensed
permissions:
contents: read
on: on:
push: push:
branches: branches:

View File

@ -7,6 +7,9 @@ on:
paths-ignore: paths-ignore:
- '**.md' - '**.md'
permissions:
contents: read
jobs: jobs:
test: test:
name: Build and Test name: Build and Test