Skip to content

Commit a26b919

Browse files
authored
Checkout main branch when doing update validation (#213)
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 <ozz@stacklok.com>
1 parent 76bc8a5 commit a26b919

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/update.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
- name: Checkout comparison branch (main) in subdirectory
1919
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2020
with:
21-
# Checkout the comparison branch into a subdirectory
22-
ref: ${{ github.event.pull_request.head.sha }}
21+
# Checkout the main branch into a subdirectory
22+
ref: main
2323
path: before_files
2424

2525
- name: Set up Go

0 commit comments

Comments
 (0)