From 8fc1b902b662f90bc4616ad24b66806bdf42f9cf Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Wed, 30 Nov 2022 12:42:26 -0800 Subject: [PATCH] Add a new github action Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> --- .github/workflows/notes.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/notes.yml diff --git a/.github/workflows/notes.yml b/.github/workflows/notes.yml new file mode 100644 index 00000000000..8336ca76fb0 --- /dev/null +++ b/.github/workflows/notes.yml @@ -0,0 +1,26 @@ +# Copyright 2021-2022 Signal Messenger, LLC +# SPDX-License-Identifier: AGPL-3.0-only + +name: Notes +on: + pull_request: + types: [closed] + +jobs: + backport: + name: Add notes to merge commits + if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + token: ${{ secrets.AUTOMATED_GITHUB_PAT }} + repository: signalapp/Signal-Notes-Action-Private + path: ./.github/actions/note + - name: Run action + uses: ./.github/actions/note + with: + token: ${{ secrets.AUTOMATED_GITHUB_PAT }} + git-email: note-bot@signal.org + git-name: Note Bot