mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +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:
|
||||
- .github/workflows/build-ripunzip.yml
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
versions:
|
||||
runs-on: ubuntu-slim
|
||||
@@ -116,6 +118,9 @@ jobs:
|
||||
publish:
|
||||
needs: [versions, build]
|
||||
if: inputs.open-pr == 'true'
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-slim
|
||||
steps:
|
||||
# workaround for git-lfs not being installed yet on ubuntu-slim runners
|
||||
|
||||
Reference in New Issue
Block a user