Skip to content
Snippets Groups Projects
Unverified Commit d6df4fbb authored by chris48s's avatar chris48s Committed by GitHub
Browse files

chore: Set permissions for GitHub actions (#7928)

parent bab13b9c
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,9 @@ on: ...@@ -4,6 +4,9 @@ on:
pull_request: pull_request:
types: [closed] types: [closed]
permissions:
contents: write
jobs: jobs:
create-release: create-release:
if: | if: |
......
...@@ -3,6 +3,10 @@ on: ...@@ -3,6 +3,10 @@ on:
push: push:
branches: branches:
- master - master
permissions:
contents: write
jobs: jobs:
build-and-deploy: build-and-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
...@@ -5,6 +5,10 @@ on: ...@@ -5,6 +5,10 @@ on:
# At 01:00 on the first day of every month # At 01:00 on the first day of every month
workflow_dispatch: workflow_dispatch:
permissions:
pull-requests: write
contents: write
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
name: 'Dependency Review' name: 'Dependency Review'
on: [pull_request] on: [pull_request]
permissions:
contents: read
jobs: jobs:
dependency-review: dependency-review:
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment