Add action for automated backports
This commit is contained in:
parent
e4d7e1e9c8
commit
8841de17a5
|
@ -4,6 +4,9 @@ coverage/**
|
|||
dist/**
|
||||
release/**
|
||||
|
||||
# Github workflows
|
||||
.github/**
|
||||
|
||||
# Generated files
|
||||
js/curve/*
|
||||
js/components.js
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
|
||||
# Copyright 2021 Signal Messenger, LLC
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
name: Backport
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
pull_request:
|
||||
types: [closed]
|
||||
|
||||
jobs:
|
||||
backport:
|
||||
name: Apply labels and open backport pull requests
|
||||
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
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
|
|
@ -30,6 +30,9 @@ test/blanket_mocha.js
|
|||
# Test fixtures
|
||||
test/fixtures.js
|
||||
|
||||
# Github workflows
|
||||
.github/**
|
||||
|
||||
# Managed by Transifex:
|
||||
# Note: the negate pattern only works because it's targeting the same depth as the
|
||||
# glob on the previous line.
|
||||
|
|
|
@ -64,6 +64,9 @@ const excludedFilesRegexps = [
|
|||
'^libtextsecure/test/.+',
|
||||
'^test/.+',
|
||||
|
||||
// Github workflows
|
||||
'^.github/.+',
|
||||
|
||||
// Modules we trust
|
||||
'^node_modules/core-js-pure/.+',
|
||||
'^node_modules/core-js/.+',
|
||||
|
|
Loading…
Reference in New Issue