Skip to content

Commit

Permalink
chore: Use git sha as checkout ref
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeGoldsmith committed Jul 11, 2023
1 parent 384a657 commit 41d4326
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
packages: write
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Log in to the Container registry
uses: docker/[email protected]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
packages: write
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Log in to the Container registry
uses: docker/[email protected]
Expand Down

0 comments on commit 41d4326

Please sign in to comment.