Fix the post-release workflow. (#3996)

This commit is contained in:
Doug
2025-04-08 17:24:55 +01:00
committed by GitHub
parent f670a40b79
commit 9e3ff56909

View File

@@ -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 }}