Skip to content

Commit

Permalink
ci: add commitlint workflow (#1769)
Browse files Browse the repository at this point in the history
* ci: Add commitlint workflow

* change action

* Combine to one file

* Use pull_request_target event
  • Loading branch information
BobDotCom committed Nov 7, 2022
1 parent 970e07e commit c64f1d5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/pr-deps.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: PR Dependencies
name: "Lint PR"

on:
pull_request:
pull_request_target:
types: [opened, synchronize, reopened, edited]

jobs:
Expand All @@ -12,3 +12,10 @@ jobs:
- uses: gregsdennis/dependencies-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
check_title:
name: Check Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c64f1d5

Please sign in to comment.