From e34dfcd94782f7ba42deae10c5c62e3d042d7b10 Mon Sep 17 00:00:00 2001 From: FoxxoTrystan Date: Mon, 15 Jul 2024 00:22:28 +0200 Subject: [PATCH] Changelogs --- .github/workflows/publish-changelog.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/publish-changelog.yml diff --git a/.github/workflows/publish-changelog.yml b/.github/workflows/publish-changelog.yml new file mode 100644 index 00000000000..18abe64aa7a --- /dev/null +++ b/.github/workflows/publish-changelog.yml @@ -0,0 +1,24 @@ +name: Publish Changelog + +on: + workflow_dispatch: + schedule: + - cron: '0 10 * * *' + +jobs: + publish_changelog: + runs-on: ubuntu-latest + steps: + + - name: checkout + uses: actions/checkout@v3 + with: + token: ${{secrets.GITHUB_TOKEN}} + ref: master + + - name: Publish changelog + run: Tools/actions_changelogs_since_last_run.py + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }} + continue-on-error: true