Skip to content

Commit 7dcd6f7

Browse files
mesh-2092: secure from parameter injection
1 parent 99153ff commit 7dcd6f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dependabot-auto-merge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
25-
ref: ${{ github.event.pull_request.head.ref }}
25+
ref: ${{ startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.event.pull_request.head.ref || github.ref }}
2626
repository: ${{ github.event.pull_request.head.repo.full_name }}
2727

2828
- name: Install Python 3.11

0 commit comments

Comments
 (0)