Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: only check package-lock diff on PRs #1460

Merged
merged 6 commits into from
Jun 13, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/workflows/conventional-commits.yml

This file was deleted.

26 changes: 15 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
name: Pull Request Lint

on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
- uses: codepunkt/npm-lockfile-changes@v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: 16
- uses: bahmutov/npm-install@v1
- run: npm run lint
- uses: codepunkt/npm-lockfile-changes@v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}