-
Notifications
You must be signed in to change notification settings - Fork 0
Push to subtree
Romain Bioteau edited this page Mar 5, 2024
·
2 revisions
This workflow is used to push to subtree.
This workflow need to have access to the BONITA_CI_PAT secret.
name: Push to community subtree
on:
workflow_dispatch:
push:
tags:
# Must not match with a maintenance versions
- '[0-9]+.[0-9]+.0' # Major/minor GA versions
- '[0-9]+.[0-9]+.0.alpha-[0-9]+' # Major/minor alpha versions
- '[0-9]+.[0-9]+.0.beta-[0-9]+' # Major/minor beta versions
- '[0-9]+.[0-9]+.0.rc-[0-9]+' # Major/minor rc versions
- '[0-9]+.[0-9]+.0.W[0-9]+' # Major/minor weekly versions
branches:
- 'dev'
paths:
- 'community/**' # Only triggered when changes occurs in the subtree
- '.github/workflows/push_to_subtree.yml'
jobs:
push-subtree:
uses: "bonitasoft/github-workflows/.github/workflows/_reusable_push_to_subtree.yml@main"
with:
remote: https://github.com/bonitasoft/bonita-studio.git
prefix: community # Default value
secrets: inheritNOTE: Only dev branch and base version tags should push