mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Set permissions
This commit is contained in:
5
.github/workflows/build-ripunzip.yml
vendored
5
.github/workflows/build-ripunzip.yml
vendored
@@ -17,6 +17,8 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- .github/workflows/build-ripunzip.yml
|
- .github/workflows/build-ripunzip.yml
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
versions:
|
versions:
|
||||||
runs-on: ubuntu-slim
|
runs-on: ubuntu-slim
|
||||||
@@ -116,6 +118,9 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
needs: [versions, build]
|
needs: [versions, build]
|
||||||
if: inputs.open-pr == 'true'
|
if: inputs.open-pr == 'true'
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
runs-on: ubuntu-slim
|
runs-on: ubuntu-slim
|
||||||
steps:
|
steps:
|
||||||
# workaround for git-lfs not being installed yet on ubuntu-slim runners
|
# workaround for git-lfs not being installed yet on ubuntu-slim runners
|
||||||
|
|||||||
Reference in New Issue
Block a user