mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-22 15:32:48 +00:00
Test workflow permissions (#8611)
This commit is contained in:
parent
9c360fb61c
commit
09ac3be112
5
.github/workflows/java-checkstyle.yml
vendored
5
.github/workflows/java-checkstyle.yml
vendored
@ -19,6 +19,9 @@ on:
|
||||
- main
|
||||
- '0.[0-9]+.[0-9]+'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: java-checkstyle-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
@ -47,6 +50,8 @@ jobs:
|
||||
git diff-files --quiet
|
||||
|
||||
- name: Create a comment in the PR with the instructions
|
||||
permissions:
|
||||
pull-requests: write
|
||||
if: steps.git.outcome != 'success'
|
||||
uses: peter-evans/create-or-update-comment@v1
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user