Merge pull request #112 from advanced-security/alert-autofix-workflow-permissions

Potential fix for alerts: Workflow does not contain permissions
This commit is contained in:
Mathew Payne
2025-05-13 09:12:03 +01:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -4,6 +4,8 @@
# For our project, we generate this file through a build process from other source files. # For our project, we generate this file through a build process from other source files.
# 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:
+2
View File
@@ -1,4 +1,6 @@
name: "Test" name: "Test"
permissions:
contents: read
on: on:
pull_request: pull_request:
workflow_dispatch: workflow_dispatch: