Skip to content

Commit 6cc4936

Browse files
authored
ci: add conventional commit pr check (#25)
1 parent 52f38a6 commit 6cc4936

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: conventional-pr
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
- master
7+
types:
8+
- opened
9+
- edited
10+
- synchronize
11+
jobs:
12+
lint-pr:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Get Release Bot Token
18+
id: get-token
19+
uses: getsentry/action-github-app-token@v1
20+
with:
21+
app_id: ${{ secrets.DS_RELEASE_BOT_ID }}
22+
private_key: ${{ secrets.DS_RELEASE_BOT_PRIVATE_KEY }}
23+
24+
- uses: CondeNast/[email protected]
25+
env:
26+
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}

0 commit comments

Comments
 (0)