Add action for automated backports
This commit is contained in:
parent
e4d7e1e9c8
commit
8841de17a5
4 changed files with 38 additions and 0 deletions
|
@ -4,6 +4,9 @@ coverage/**
|
||||||
dist/**
|
dist/**
|
||||||
release/**
|
release/**
|
||||||
|
|
||||||
|
# Github workflows
|
||||||
|
.github/**
|
||||||
|
|
||||||
# Generated files
|
# Generated files
|
||||||
js/curve/*
|
js/curve/*
|
||||||
js/components.js
|
js/components.js
|
||||||
|
|
29
.github/workflows/backport.yml
vendored
Normal file
29
.github/workflows/backport.yml
vendored
Normal file
|
@ -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
|
||||||
test/fixtures.js
|
test/fixtures.js
|
||||||
|
|
||||||
|
# Github workflows
|
||||||
|
.github/**
|
||||||
|
|
||||||
# Managed by Transifex:
|
# Managed by Transifex:
|
||||||
# Note: the negate pattern only works because it's targeting the same depth as the
|
# Note: the negate pattern only works because it's targeting the same depth as the
|
||||||
# glob on the previous line.
|
# glob on the previous line.
|
||||||
|
|
|
@ -64,6 +64,9 @@ const excludedFilesRegexps = [
|
||||||
'^libtextsecure/test/.+',
|
'^libtextsecure/test/.+',
|
||||||
'^test/.+',
|
'^test/.+',
|
||||||
|
|
||||||
|
// Github workflows
|
||||||
|
'^.github/.+',
|
||||||
|
|
||||||
// Modules we trust
|
// Modules we trust
|
||||||
'^node_modules/core-js-pure/.+',
|
'^node_modules/core-js-pure/.+',
|
||||||
'^node_modules/core-js/.+',
|
'^node_modules/core-js/.+',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue