File: merge-maintained-branch.yml

package info (click to toggle)
php-phpstan-phpdoc-parser 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,496 kB
  • sloc: php: 21,857; makefile: 50; xml: 42; sh: 17
file content (23 lines) | stat: -rw-r--r-- 599 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions

name: Merge maintained branch

on:
  push:
    branches:
      - "1.22.x"

jobs:
  merge:
    name: Merge branch
    runs-on: ubuntu-latest
    steps:
      - name: "Checkout"
        uses: actions/checkout@v4
      - name: "Merge branch"
        uses: everlytic/branch-merge@1.1.5
        with:
          github_token: "${{ secrets.PHPSTAN_BOT_TOKEN }}"
          source_ref: ${{ github.ref }}
          target_branch: '1.23.x'
          commit_message_template: 'Merge branch {source_ref} into {target_branch}'