Add commits check action

This commit is contained in:
Jamie Kyle 2023-09-21 09:18:30 -07:00 committed by GitHub
parent 503620fe00
commit 4d919891fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
.github/workflows/commits.yml vendored Normal file
View file

@ -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