Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit 2ffbd54

Browse files
committed
refactor: added github actions
1 parent 9d65b1d commit 2ffbd54

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: PR to Author
2+
on:
3+
pull_request:
4+
types: [opened, ready_for_review, edited, synchronize]
5+
6+
jobs:
7+
assignAuthor:
8+
name: Assing
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: samspills/assign-pr-to-author@v1.0
12+
if: github.event_name == 'pull_request' && github.event.action == 'opened'
13+
with:
14+
repo-token: '${{ secrets.GITHUB_TOKEN }}'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Commitlint PR Title
2+
on:
3+
pull_request:
4+
types: ['opened', 'edited', 'reopened', 'synchronize']
5+
6+
jobs:
7+
lint:
8+
name: Validate PR Title (conventional-commit)
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
13+
- name: Setup node
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: "16"
17+
18+
- name: Install Dependencies
19+
run: yarn
20+
21+
- uses: JulienKode/pull-request-name-linter-action@v0.2.0

0 commit comments

Comments
 (0)