forked from hiero-ledger/hiero-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 841 Bytes
/
Copy pathpr-formatting.yml
File metadata and controls
36 lines (31 loc) · 841 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
# SPDX-License-Identifier: Apache-2.0
name: "PR Formatting"
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize
defaults:
run:
shell: bash
permissions:
contents: read
statuses: write
concurrency:
group: pr-formatting-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
title-check:
name: Title Check
runs-on: hiero-client-sdk-linux-medium
steps:
- name: Harden Runner
uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
with:
egress-policy: audit
- name: Check PR Title
uses: step-security/conventional-pr-title-action@b54c0688e6fd1d221f8a936e05fdd82f500640d6 # v3.2.7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}