Skip to content

Commit

Permalink
fix: flip logic
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Feb 12, 2024
1 parent 578a391 commit 7e7274b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Nissuer
uses: balazsorban44/nissuer@1.9.1
uses: balazsorban44/nissuer@1.9.2
with:
label-area-section: 'Which area\(s\) are affected\?(.*)'
reproduction-issue-labels: "bug,"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Nissuer
uses: balazsorban44/nissuer@1.9.1
uses: balazsorban44/nissuer@1.9.2
```

Add a comment file (by default we look for `.github/invalid-reproduction.md`):
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function checkValidReproduction() {
config.invalidLink.bugLabels.length &&
!labels.some((l) => config.invalidLink.bugLabels.includes(l))

if (!issueWithoutLabel || issueMatchingLabel)
if (!issueWithoutLabel && issueMatchingLabel)
return info("Not manually or already labeled")

if (await isValidReproduction(issue.body))
Expand Down

0 comments on commit 7e7274b

Please sign in to comment.