Skip to content

Commit f4599a6

Browse files
committed
Update best-of update workflow
1 parent 561e7dd commit f4599a6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/update-best-of-list.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Based on https://github.com/ml-tooling/best-of-update-action/blob/v0.3.0/workflows/update-best-of-list.yml
12
name: update-best-of-list
23

34
on:
@@ -37,7 +38,7 @@ jobs:
3738
env:
3839
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3940
- name: update-best-of-list
40-
uses: ml-tooling/best-of-update-action@v0.2.0
41+
uses: ml-tooling/best-of-update-action@v0.3.0
4142
with:
4243
libraries_key: ${{ secrets.LIBRARIES_KEY }}
4344
github_key: ${{ secrets.GITHUB_TOKEN }}
@@ -61,4 +62,13 @@ jobs:
6162
rm bin/hub
6263
env:
6364
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64-
# TODO: create draft release with added projects, trending projects, removed projects (hidden)
65+
- name: create-release
66+
uses: actions/create-release@v1
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69+
with:
70+
tag_name: ${{ env.VERSION }}
71+
release_name: "Update: ${{ env.VERSION }}"
72+
body_path: "latest_changes.md"
73+
draft: true
74+
prerelease: false

0 commit comments

Comments
 (0)