From acedd58881590e3aaa3def2d072cf1cfde3b32d8 Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Sun, 24 Sep 2023 20:49:41 -0500 Subject: [PATCH] Ensure proper release is checked out CI may have been checking out development even though it was doing everything else for release branch so when tags were applied it was applied on the wrong branch. Development and master should have been near the same except for release bump. Hard setting the checkout to the proper branch should fix this. Closes: https://github.com/netbootxyz/netboot.xyz/issues/1294 --- .github/workflows/development.yml | 2 ++ .github/workflows/release-candidate.yml | 2 ++ .github/workflows/release.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 3ec2034f..b8a586a9 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -19,6 +19,8 @@ jobs: contents: read steps: - uses: actions/checkout@v4 + with: + ref: development - name: Retrieve Certs run: | diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index 49d5bc1d..f12ec1f6 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -19,6 +19,8 @@ jobs: contents: write steps: - uses: actions/checkout@v4 + with: + ref: RC - name: Retrieve Certs run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16c904f6..0ee3da35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,8 @@ jobs: contents: write steps: - uses: actions/checkout@v4 + with: + ref: master - name: Retrieve Certs run: |