Skip to content

Commit 9ccbeeb

Browse files
committed
fix: workflow
1 parent 638f969 commit 9ccbeeb

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,18 @@ on:
77
- edited
88
- synchronize
99

10-
# Adding both pull-requests and contents permissions
1110
permissions:
12-
pull-requests: write
13-
contents: read
14-
issues: read
11+
contents: write
1512

1613
jobs:
1714
main:
1815
name: Validate PR Title
1916
runs-on: ubuntu-latest
2017
steps:
21-
- uses: actions/checkout@v4 # Adding checkout action explicitly
22-
2318
- name: Validate PR Title with Conventional Commits
2419
uses: amannn/action-semantic-pull-request@v5
2520
env:
26-
# Using a different token syntax
27-
GITHUB_TOKEN: ${{ github.token }}
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2822
with:
2923
types: |
3024
feat

0 commit comments

Comments
 (0)