mirror of
https://github.com/gchq/CyberChef
synced 2026-02-06 19:53:22 +00:00
Fix release workflow permissions (#2181)
This commit is contained in:
committed by
GitHub
parent
eeb39a0b2b
commit
4ca5157508
7
.github/workflows/master.yml
vendored
7
.github/workflows/master.yml
vendored
@@ -1,18 +1,19 @@
|
||||
name: "Master Build, Test & Deploy"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
main:
|
||||
permissions:
|
||||
contents: write
|
||||
pages: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
4
.github/workflows/releases.yml
vendored
4
.github/workflows/releases.yml
vendored
@@ -7,7 +7,6 @@ on:
|
||||
- "v*"
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
env:
|
||||
@@ -18,6 +17,9 @@ env:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
permissions:
|
||||
id-token: write
|
||||
packages: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
Reference in New Issue
Block a user