mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
26 lines
604 B
YAML
26 lines
604 B
YAML
name: ♻ Backport
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- closed
|
|
- labeled
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
backport:
|
|
runs-on: ubuntu-22.04
|
|
name: Backport
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- name: Backport Bot
|
|
id: backport
|
|
if: github.event.pull_request.merged && ( ( github.event.action == 'closed' && contains( join( github.event.pull_request.labels.*.name ), 'backport') ) || contains( github.event.label.name, 'backport' ) )
|
|
uses: m-kuhn/backport@v1.2.7
|
|
with:
|
|
github_token: ${{ secrets.GH_TOKEN_BOT }}
|