Skip to content

Commit

Permalink
chore(client): only run Knip & changelog reminder on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
naftis authored Jan 6, 2025
1 parent 89669db commit 967dd79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
# forked repos cannot access secrets.GITHUB_TOKEN which causes this step
# to fail
continue-on-error: true
if: github.event_name == 'pull_request'
with:
message: >
Oops! Looks like you forgot to update the changelog.
Expand Down Expand Up @@ -308,6 +309,7 @@ jobs:
lint-knip:
name: Lint unused exports with Knip
runs-on: ubuntu-22.04
if: github.event_name == 'pull_request'
steps:
- name: Checkout base branch
uses: actions/checkout@v4
Expand Down

0 comments on commit 967dd79

Please sign in to comment.