Simulate level 10 in issue bot on 1.12.x #1355
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
name: Merge maintained branch | |
on: | |
push: | |
branches: | |
- "1.12.x" | |
jobs: | |
merge: | |
name: Merge branch | |
if: github.repository_owner == 'phpstan' | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Merge branch" | |
uses: everlytic/[email protected] | |
with: | |
github_token: "${{ secrets.PHPSTAN_BOT_TOKEN }}" | |
source_ref: ${{ github.ref }} | |
target_branch: '2.0.x' | |
commit_message_template: 'Merge branch {source_ref} into {target_branch}' |