ci: give write permission for PR comments
This commit is contained in:
parent
265ab87997
commit
3300e67913
5 changed files with 15 additions and 3 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -25,6 +25,9 @@ env:
|
|||
PACKAGE_BUILD: ${{ !github.event.pull_request.draft }}
|
||||
PACKAGE_UPLOAD: ${{ !github.event.pull_request.draft }}
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
3
.github/workflows/lint-changelog.yml
vendored
3
.github/workflows/lint-changelog.yml
vendored
|
|
@ -16,6 +16,9 @@ on:
|
|||
- ready_for_review
|
||||
- edited
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
lint-changelog:
|
||||
if: ${{ !github.event.pull_request.draft }}
|
||||
|
|
|
|||
3
.github/workflows/lint-clang.yml
vendored
3
.github/workflows/lint-clang.yml
vendored
|
|
@ -11,6 +11,9 @@ on:
|
|||
- synchronize
|
||||
- ready_for_review
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
lint-clang:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
3
.github/workflows/lint-cmake.yml
vendored
3
.github/workflows/lint-cmake.yml
vendored
|
|
@ -11,6 +11,9 @@ on:
|
|||
- synchronize
|
||||
- ready_for_review
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
lint-cmake:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
6
.github/workflows/valgrind-analysis.yml
vendored
6
.github/workflows/valgrind-analysis.yml
vendored
|
|
@ -9,15 +9,15 @@ on:
|
|||
- synchronize
|
||||
- ready_for_review
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
valgrind-analysis:
|
||||
runs-on: ubuntu-latest
|
||||
container: deskflow/deskflow:ubuntu-22.04-amd64
|
||||
timeout-minutes: 10
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue