Files
letro-ios/.github/workflows/post-release.yml
renovate[bot] d6efca4afd Update actions/github-script action to v7 (#3988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 15:29:44 +01:00

30 lines
737 B
YAML

name: Post-release
on:
push:
tags:
- 'release/**'
jobs:
post-release:
runs-on: ubuntu-latest
# Skip in forks
if: github.repository == 'element-hq/element-x-ios'
steps:
- name: Trigger pipeline
uses: actions/github-script@v7
with:
script: |
const tag = context.ref.replace('refs/tags/', '');
const inputs = { git_tag: tag };
await github.actions.createWorkflowDispatch({
owner: 'element-hq',
repo: 'element-enterprise',
workflow_id: 'ios-pipeline.yml',
ref: 'main',
inputs: inputs
});
env:
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}