diff --git a/.github/workflows/collect-prs.yml b/.github/workflows/collect-prs.yml index 8ef195d..e033bb9 100644 --- a/.github/workflows/collect-prs.yml +++ b/.github/workflows/collect-prs.yml @@ -58,5 +58,8 @@ jobs: id: deployment uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 - - + # NOTE: push with GITHUB_TOKEN won't invoke the event, + # as a workaround, directly call the action. + release: + needs: deploy + uses: ./.github/workflows/create-release.yml diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 69d4bdd..8861b1e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -1,6 +1,7 @@ name: Create Release from archives on: + workflow_call: push: branches: - main