Add commits check action
This commit is contained in:
parent
503620fe00
commit
4d919891fb
1 changed files with 19 additions and 0 deletions
19
.github/workflows/commits.yml
vendored
Normal file
19
.github/workflows/commits.yml
vendored
Normal 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
|
Loading…
Add table
Reference in a new issue