mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Add a post-release workflow. (#3986)
This commit is contained in:
@@ -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 }}
|
||||||
+1
-1
Submodule Enterprise updated: 13c9a3614b...c5e9abe87c
Reference in New Issue
Block a user