diff --git a/.github/workflows/update-best-of-list.yml b/.github/workflows/update-best-of-list.yml index fad6266f..d3635954 100644 --- a/.github/workflows/update-best-of-list.yml +++ b/.github/workflows/update-best-of-list.yml @@ -1,3 +1,4 @@ +# Based on https://github.com/ml-tooling/best-of-update-action/blob/v0.3.0/workflows/update-best-of-list.yml name: update-best-of-list on: @@ -37,7 +38,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: update-best-of-list - uses: ml-tooling/best-of-update-action@v0.2.0 + uses: ml-tooling/best-of-update-action@v0.3.0 with: libraries_key: ${{ secrets.LIBRARIES_KEY }} github_key: ${{ secrets.GITHUB_TOKEN }} @@ -61,4 +62,13 @@ jobs: rm bin/hub env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # TODO: create draft release with added projects, trending projects, removed projects (hidden) + - name: create-release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ env.VERSION }} + release_name: "Update: ${{ env.VERSION }}" + body_path: "latest_changes.md" + draft: true + prerelease: false