Skip to content

Commit dbc9895

Browse files
authored
Simplify PR title check workflow
Removed unnecessary steps for Bun setup and dependency installation from the PR title check workflow.
1 parent 6247e39 commit dbc9895

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/check-pr-title.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Check PR Title
33
on:
44
pull_request:
55
branches: [main]
6-
types: [edited, opened, reopened, synchronize]
6+
paths:
7+
- 'src/helpers/check-pr-title.ts'
78

89
jobs:
910
test:
@@ -13,19 +14,6 @@ jobs:
1314
- name: Checkout
1415
uses: actions/checkout@v6
1516

16-
- name: Setup Bun
17-
uses: oven-sh/setup-bun@v2
18-
with:
19-
bun-version-file: package.json
20-
21-
- name: Install dependencies
22-
run: bun install
23-
24-
- name: Validate PR Title Contains Valid Descriptor
25-
run: bun ./scripts/verify-pr-title-has-valid-descriptor.ts
26-
env:
27-
TITLE: ${{ github.event.pull_request.title }}
28-
2917
- uses: ./
3018
with:
3119
helper:

0 commit comments

Comments
 (0)