From 71b6de8bbd8d55cfc094cc07fb9daaed0b44e485 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Mon, 25 Apr 2022 15:50:58 -0700 Subject: [PATCH] ci: Fix -main tags on release (#4154) These tags should be attached to the head of the main branch, so that is what we should check out during the tagging job. In v3.1.7, v3.2.5, and v3.3.3, we accidentally tagged the heads of the release branches. The `-main` tags for those releases had to be corrected manually. --- .github/workflows/release-please.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index fba4c29a15..10e3f6708f 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -59,6 +59,8 @@ jobs: if: needs.release.outputs.release_created steps: - uses: actions/checkout@v2 + with: + ref: main - name: Tag the main branch run: | # Emulate the actions bot.