2022-08-04 07:39:21 +00:00
|
|
|
# Copyright 2021-2022 Signal Messenger, LLC
|
2021-06-01 18:04:56 +00:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
name: Backport
|
|
|
|
on:
|
|
|
|
issue_comment:
|
|
|
|
types: [created]
|
|
|
|
pull_request:
|
2022-11-15 22:20:15 +00:00
|
|
|
types: [opened, labeled, unlabeled, closed]
|
2021-06-01 18:04:56 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
backport:
|
|
|
|
name: Apply labels and open backport pull requests
|
|
|
|
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-06-17 12:47:57 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-06-01 18:04:56 +00:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.AUTOMATED_GITHUB_PAT }}
|
|
|
|
repository: signalapp/Signal-Backport-Action-Private
|
|
|
|
path: ./.github/actions/backport
|
|
|
|
- name: Run action
|
|
|
|
uses: ./.github/actions/backport
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.AUTOMATED_GITHUB_PAT }}
|
|
|
|
git-email: backport-bot@signal.org
|
|
|
|
git-name: Backport Bot
|