From 9e3ff5690961c1a890c0627619979ef891dafa66 Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Tue, 8 Apr 2025 17:24:55 +0100 Subject: [PATCH] Fix the post-release workflow. (#3996) --- .github/workflows/post-release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 7a152caae..d4c389aea 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -15,15 +15,14 @@ jobs: - name: Trigger pipeline uses: actions/github-script@v7 with: + github-token: ${{ secrets.ENTERPRISE_ACTIONS_TOKEN }} script: | const tag = context.ref.replace('refs/tags/', ''); const inputs = { git_tag: tag }; - await github.actions.createWorkflowDispatch({ + await github.rest.actions.createWorkflowDispatch({ owner: 'element-hq', repo: 'element-enterprise', workflow_id: 'ios-pipeline.yml', ref: 'main', inputs: inputs }); - env: - GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}