You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/09/07 19:43:36 UTC
Re: [PR] [ci][gh][workflow] explicit action hash and permissions [maven]
gnodet commented on code in PR #12581:
URL: https://github.com/apache/maven/pull/12581#discussion_r3952274871
##########
.github/workflows/pr-automation.yml:
##########
@@ -19,9 +19,15 @@ name: PR Automation
on:
pull_request_target:
types:
+ # zizmor: ignore[dangerous-triggers]
- closed
+permissions: {}
+
jobs:
pr-automation:
name: PR Automation
- uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v5
+ permissions:
+ issues: write
+ pull-requests: write
+ uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@8599b638c78a2bec146a98d75d4c8b4e8458324f # v5
Review Comment:
Afaik, dependabot already supports upgrading workflow pinned dependencies, so this should be fine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org