From 4d919891fb718bd76752e4558d291a31fd2238a9 Mon Sep 17 00:00:00 2001 From: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com> Date: Thu, 21 Sep 2023 09:18:30 -0700 Subject: [PATCH] Add commits check action --- .github/workflows/commits.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/commits.yml diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml new file mode 100644 index 0000000000..fc7684284c --- /dev/null +++ b/.github/workflows/commits.yml @@ -0,0 +1,19 @@ +# Copyright 2023 Signal Messenger, LLC +# SPDX-License-Identifier: AGPL-3.0-only + +name: Commits Check +on: + push: + branches: + - main + - '[0-9]+.[0-9]+.x' +jobs: + linux: + runs-on: ubuntu-latest + if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' }} + steps: + - uses: signalapp/Signal-Check-Commits-Action-Private@main + with: + commit-pattern: "\\(#\\d{1,}\\)" # i.e. "Example commit message (#1234)" + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-title: Pushed to "${{ github.ref_name }}" with issue references