Skip to content

Commit

Permalink
fix: skip actions of PR context (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight committed Jun 21, 2022
1 parent 249404b commit c0f468d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
validate-pr:
name: Validate PR title
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Pull request title check
uses: amannn/action-semantic-pull-request@v4
Expand Down Expand Up @@ -68,5 +69,6 @@ jobs:

- name: Coverage Report
uses: romeovs/lcov-reporter-action@v0.2.16
if: ${{ github.event_name == 'pull_request' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 0 additions & 5 deletions .github/workflows/publish-npm-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ jobs:
- name: Run Test Coverage
run: pnpm ci:test:coverage

- name: Coverage Report
uses: romeovs/lcov-reporter-action@v0.2.16
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to NPM
run: |
git config --global user.name "${{ github.actor }}"
Expand Down

0 comments on commit c0f468d

Please sign in to comment.