mirror of
https://github.com/gchq/CyberChef.git
synced 2026-02-08 08:10:32 -08:00
Fix release workflow permissions (#2181)
This commit is contained in:
parent
eeb39a0b2b
commit
4ca5157508
2 changed files with 7 additions and 4 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue