mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
Add permission
This commit is contained in:
2
.github/workflows/comment-pr.yml
vendored
2
.github/workflows/comment-pr.yml
vendored
@@ -9,6 +9,8 @@ on:
|
||||
workflows: ["receive-pr"]
|
||||
types:
|
||||
- completed
|
||||
permissions:
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
post-suggestions:
|
||||
|
||||
2
.github/workflows/pitest-update-pr.yml
vendored
2
.github/workflows/pitest-update-pr.yml
vendored
@@ -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
|
||||
|
||||
5
.github/workflows/receive-pr.yml
vendored
5
.github/workflows/receive-pr.yml
vendored
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user