Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,21 @@ jobs:
echo "✅ Created and pushed tag: $NEW_TAG"
echo "appcat-tag=$NEW_TAG" >> $GITHUB_OUTPUT

- name: Trigger Release Workflow
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'release.yml',
ref: 'master',
inputs: {
tag: '${{ steps.tag.outputs.appcat-tag }}'
}
});

- name: Clone and patch component repo
run: |
COMPONENT_BRANCH="${{ needs.check-conditions.outputs.comp-feature-branch }}"
Expand Down Expand Up @@ -311,7 +326,7 @@ jobs:
gh pr merge -R "$COMPONENT_REPO" ${{ needs.check-conditions.outputs.comp-pr-number }} --merge --delete-branch

merge-hotfix-update-develop:
needs: merge-hotfix
needs: [merge-hotfix, check-conditions]
runs-on: ubuntu-latest
steps:
- name: Create PR to merge master into develop in appcat repo
Expand All @@ -322,7 +337,7 @@ jobs:
--repo "$APPCAT_REPO" \
--base develop \
--head master \
--reviewer ${{ needs.check-conditions.outputs.author }} \ \
--reviewer ${{ needs.check-conditions.outputs.author }} \
--title "🔀 Merge master into develop (sync hotfixes)" \
--body "This PR synchronizes the hotfixes from master back into develop." || true

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
push:
tags:
- "*"
workflow_dispatch:
inputs:
tag:
description: 'Tag to release'
required: true
type: string

env:
APP_NAME: appcat
Expand Down
Loading