-
Notifications
You must be signed in to change notification settings - Fork 84
40 lines (34 loc) · 982 Bytes
/
flow-pr-title-check.yaml
File metadata and controls
40 lines (34 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-License-Identifier: Apache-2.0
name: "PR Title Check"
on:
pull_request_target:
types:
- opened
- reopened
- edited
- ready_for_review
- review_requested
- synchronize
defaults:
run:
shell: bash
permissions:
contents: read
statuses: write
concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
title-check:
name: Title Check
runs-on: hiero-local-node-linux-medium
steps:
- name: Harden Runner
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit
# Note: After Step-Security is enabled return to step-security/conventional-pr-title-action
- name: Check PR Title
uses: aslafy-z/conventional-pr-title-action@a0b851005a0f82ac983a56ead5a8111c0d8e044a # v3.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}