Skip to content

Commit

Permalink
merge(#43): fix: add proper event ifs checks
Browse files Browse the repository at this point in the history
fix: add proper event ifs checks
  • Loading branch information
403-html authored Feb 16, 2024
2 parents 7659cfa + 6a4f780 commit 3241c7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
semver-check:
if: github.event.action == 'opened'
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get-version.outputs.version }}
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
check-naming:
runs-on: ubuntu-latest

if: github.event_name == 'pull_request'
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mochawesome-json-to-md",
"version": "1.3.0",
"version": "1.3.1",
"description": "A repository containing a script to convert JSON reports generated by MochAwesome to Mardown",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 3241c7e

Please sign in to comment.