Skip to content

Commit ba70e10

Browse files
committed
Avoid explicit PR HEAD ref in workflow
1 parent 16e6089 commit ba70e10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/docker.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
if: github.event_name == 'pull_request'
5151
run: |
5252
{
53-
echo "CHECKOUT_REF=${{ github.event.pull_request.head.ref }}"
53+
echo "CHECKOUT_REF=''"
5454
echo "DOCKER_TAG=pr-${{ github.event.pull_request.number }}"
5555
echo "OUTPUT_TYPE=type=local,dest=artifacts"
5656
} >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)