Add permission

This commit is contained in:
Rick Ossendrijver
2024-12-26 10:49:11 +01:00
parent 71017d8609
commit f505a96583
3 changed files with 6 additions and 3 deletions

View File

@@ -9,6 +9,8 @@ on:
workflows: ["receive-pr"]
types:
- completed
permissions:
actions: read
jobs:
post-suggestions:

View File

@@ -37,7 +37,7 @@ jobs:
java-distribution: temurin
maven-version: 3.9.9
- name: Download Pitest analysis artifact
uses: dawidd6/action-download-artifact@`09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
name: pitest-reports

View File

@@ -9,7 +9,8 @@ on:
types: [opened, synchronize]
branches:
- master
permissions:
actions: read
concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true
@@ -19,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Name.
- name: XXX add name.
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{github.event.pull_request.head.ref}}