mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Fix the post-release workflow. (#3996)
This commit is contained in:
@@ -15,15 +15,14 @@ jobs:
|
|||||||
- name: Trigger pipeline
|
- name: Trigger pipeline
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
|
github-token: ${{ secrets.ENTERPRISE_ACTIONS_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const tag = context.ref.replace('refs/tags/', '');
|
const tag = context.ref.replace('refs/tags/', '');
|
||||||
const inputs = { git_tag: tag };
|
const inputs = { git_tag: tag };
|
||||||
await github.actions.createWorkflowDispatch({
|
await github.rest.actions.createWorkflowDispatch({
|
||||||
owner: 'element-hq',
|
owner: 'element-hq',
|
||||||
repo: 'element-enterprise',
|
repo: 'element-enterprise',
|
||||||
workflow_id: 'ios-pipeline.yml',
|
workflow_id: 'ios-pipeline.yml',
|
||||||
ref: 'main',
|
ref: 'main',
|
||||||
inputs: inputs
|
inputs: inputs
|
||||||
});
|
});
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user