Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
permissions:
contents: read
pull-requests: read
uses: petry-projects/.github/.github/workflows/dependabot-automerge-reusable.yml@0bba48104323486ac3b003ba3eba0ef747d9a7db # v1
uses: petry-projects/.github/.github/workflows/dependabot-automerge-reusable.yml@v1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Pin reusable workflow to immutable commit SHA

Switching jobs.dependabot-automerge.uses from a full commit SHA to @v1 makes this pull_request_target workflow consume a mutable ref while still inheriting secrets, so a future tag retarget in petry-projects/.github could change executed code in this repo without any local workflow diff and run with APP_PRIVATE_KEY/token privileges. Keep the reusable workflow pinned to a specific SHA to preserve reviewability and supply-chain safety.

Useful? React with 👍 / 👎.

secrets: inherit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -431,3 +431,4 @@ Thumbs.db
# ============================================================================
.dev-lead/
.dev-lead/
.dev-lead/
Loading