Skip to content

Commit

Permalink
Checkout main branch when doing update validation (#213)
Browse files Browse the repository at this point in the history
The update validation CI job was broken since I had not set the right
branch to check out. By checking out the main branch, we actually do the
validation we needed to do.

Signed-off-by: Juan Antonio Osorio <[email protected]>
  • Loading branch information
JAORMX authored Nov 14, 2024
1 parent 76bc8a5 commit a26b919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- name: Checkout comparison branch (main) in subdirectory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
# Checkout the comparison branch into a subdirectory
ref: ${{ github.event.pull_request.head.sha }}
# Checkout the main branch into a subdirectory
ref: main
path: before_files

- name: Set up Go
Expand Down

0 comments on commit a26b919

Please sign in to comment.