diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml new file mode 100644 index 000000000..46423af70 --- /dev/null +++ b/.github/workflows/post-release.yml @@ -0,0 +1,29 @@ +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@v6 + 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 }} diff --git a/Enterprise b/Enterprise index 13c9a3614..c5e9abe87 160000 --- a/Enterprise +++ b/Enterprise @@ -1 +1 @@ -Subproject commit 13c9a3614b97b692be8ce542425ba977dc31209b +Subproject commit c5e9abe87c07be6302784df1c7fe1803cf601488