Skip to content

Commit

Permalink
Update best-of update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmasuch committed Dec 17, 2020
1 parent 561e7dd commit f4599a6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/update-best-of-list.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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

0 comments on commit f4599a6

Please sign in to comment.