Skip to content

Commit

Permalink
L1-223 Rework check PR title (#1737)
Browse files Browse the repository at this point in the history
# Description

* Incorporate `check PR title` job into main PR pipeline. 
* Use of Cardinal-Cryptography/github-actions#53
PR

## Type of change

Please delete options that are not relevant.

- New feature (non-breaking change which adds functionality)

# Checklist:


https://github.com/Cardinal-Cryptography/aleph-node/actions/runs/9157713305/job/25174644543
  • Loading branch information
Marcin-Radecki authored May 21, 2024
1 parent fbdf102 commit 5c4726e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/on-pull-request-change.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/on-pull-request-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ concurrency:
cancel-in-progress: true

jobs:
check-pr-title:
name: Check PR title
runs-on: ubuntu-20.04
steps:
- name: Check PR title
uses: Cardinal-Cryptography/github-actions/check-pr-title@v7
with:
pr-title: ${{ github.event.pull_request.title }}
regexp: '(A0|L1)-[0-9]+'

code-formatting:
name: Check code formatting
uses: ./.github/workflows/_check-code-formatting.yml
Expand Down

0 comments on commit 5c4726e

Please sign in to comment.