From ad266b130fe6b0de7620530eb200581120440291 Mon Sep 17 00:00:00 2001 From: brandon s allbery kf8nh Date: Thu, 19 Dec 2024 19:15:07 -0500 Subject: [PATCH 1/2] The release cleanup action requires a token --- .github/workflows/validate.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 17c6ff9d3f2..cb466e7f9c0 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -467,6 +467,7 @@ jobs: - uses: liudonghua123/delete-release-action@v1 with: release_name: 'cabal-head' + token: ${{ github.token }} - uses: actions/download-artifact@v4 with: @@ -485,7 +486,7 @@ jobs: name: Create a GitHub LTS prerelease with the binary artifacts runs-on: ubuntu-latest # The LTS branch is hardcoded for now, update it on a new LTS! - # if: github.ref == 'refs/heads/3.12' + if: github.ref == 'refs/heads/3.12' permissions: contents: write @@ -496,6 +497,7 @@ jobs: - uses: liudonghua123/delete-release-action@v1 with: release_name: 'cabal-lts-head' + token: ${{ github.token }} - uses: actions/download-artifact@v4 with: @@ -510,10 +512,7 @@ jobs: mv "$f" "cabal-lts-${f##cabal-}" done - - run: echo ${{ github.ref }} - - name: Create GitHub prerelease - if: github.ref == 'refs/heads/3.12' uses: softprops/action-gh-release@v2 with: tag_name: cabal-lts-head From bddd03f1e7a3c798107fa1560a6d6429d9275393 Mon Sep 17 00:00:00 2001 From: brandon s allbery kf8nh Date: Wed, 18 Dec 2024 18:23:22 -0500 Subject: [PATCH 2/2] add ghc 9.12.1 to sdist check list For 3.14 branch which ships with it. --- .github/workflows/check-sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-sdist.yml b/.github/workflows/check-sdist.yml index 70d76cdfe77..f9349238310 100644 --- a/.github/workflows/check-sdist.yml +++ b/.github/workflows/check-sdist.yml @@ -47,7 +47,7 @@ jobs: # release of a corresponding Cabal and friends. it can also be short since it's # highly unlikely that we are releasing really old branches. ghc: - ["9.10.1", "9.8.1", "9.6.1"] + ["9.12.1", "9.10.1", "9.8.1", "9.6.1"] steps: