diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e97c716a6c9f4..5aa5f688abadd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -279,3 +279,18 @@ jobs: --url https://api.github.com/repos/${{ github.repository }}/pages/builds \ --header "Authorization: Bearer ${{ secrets.USER_TOKEN }}" \ --header "Accept: application/vnd.github.v3+json" + changelogs: + needs: builds + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: setup python + uses: actions/setup-python@v2 + with: + python-version: 3.8 #install the python needed + - name: execute py script # run the run.py to get the latest data + run: | + python utilities/changelog.py + env: + key: ${{ secrets.key }} # if run.py requires passwords..etc, set it as secrets +