From 73dc05c99366bd8e591f5b961fb6697b880871aa Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 12 Nov 2024 16:52:00 +0000 Subject: [PATCH] Unpin the upload release GHA action (#17923) We were pinned to an old version that had deprecation warnings. In new versions of the action leaving off properties (i.e. `draft` and `prerelease`) tells the action to not modify those properties of the release. --- .github/workflows/release-artifacts.yml | 6 +----- changelog.d/17923.misc | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 changelog.d/17923.misc diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 14092a307a..8e393a90d1 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -212,7 +212,7 @@ jobs: mv debs*/* debs/ tar -cvJf debs.tar.xz debs - name: Attach to release - uses: softprops/action-gh-release@a929a66f232c1b11af63782948aa2210f981808a # PR#109 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -220,7 +220,3 @@ jobs: Sdist/* Wheel*/* debs.tar.xz - # if it's not already published, keep the release as a draft. - draft: true - # mark it as a prerelease if the tag contains 'rc'. - prerelease: ${{ contains(github.ref, 'rc') }} diff --git a/changelog.d/17923.misc b/changelog.d/17923.misc new file mode 100644 index 0000000000..4d74e7e184 --- /dev/null +++ b/changelog.d/17923.misc @@ -0,0 +1 @@ +Unpin the upload release GHA action.