From c212ff9d636c71b2167332586912dd32edf9b60b Mon Sep 17 00:00:00 2001 From: Pranav Yadav Date: Thu, 27 Jul 2023 03:42:37 -0700 Subject: [PATCH] `release` - Switch to `softprops/action-gh-release@v0.1.15` (#4870) Summary: This diff switches to `softprops/action-gh-release@v0.1.15` for creating a release since `actions/create-release` is *archived* and is **NOT maintained**. ### Ref.: - `actions/create-release` archived and not maintained notice: https://github.com/actions/create-release - `softprops/action-gh-release@v0.1.15` changelog: https://github.com/softprops/action-gh-release/releases/tag/v0.1.15 ## Changelog: [GENERAL] [SECURITY] - [Actions] `release` - Switch to `softprops/action-gh-release@v0.1.15` to create a release Pull Request resolved: https://github.com/facebook/flipper/pull/4870 Test Plan: - Workflow should run and work as usual. Reviewed By: lblasa Differential Revision: D47829486 Pulled By: passy fbshipit-source-id: fea3b9ed7b76736bcc85d6bd1fa43a14d10a8763 --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ae072c99..c2ed00bf4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,12 +33,12 @@ jobs: version_assertion_command: 'grep -q "\"version\": \"$version\"" desktop/package.json' - name: Create release if: ${{ steps.tag-version-commit.outputs.tag != '' }} - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v0.1.15 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.tag-version-commit.outputs.tag }} - release_name: ${{ steps.tag-version-commit.outputs.tag }} + name: ${{ steps.tag-version-commit.outputs.tag }} body: | See https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md for full notes.