Skip to content

merge-to-main

merge-to-main #25

Workflow file for this run

name: automerge
# This workflow is triggered when any changes are pushed to the release branch and
# when a release candidate or full release has been published in the `release-base` workflow
on:
repository_dispatch:
types: [merge-to-main]
push:
branches: [release/v2*]
concurrency:
group: automerge-${{ github.ref }}
cancel-in-progress: true
jobs:
automerge:
if: github.repository == 'carbon-design-system/ibm-products'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
ref: ${{ github.event.client_payload.branch }}
- name: Merge to main
uses: devmasx/[email protected]
with:
type: now
target_branch: 'main'
env:
GITHUB_TOKEN: ${{ secrets.MERGE_ACTION }}