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

Duplicate GitHub issues prevention #60

Closed
rotemreiss opened this issue Jun 19, 2023 · 4 comments
Closed

Duplicate GitHub issues prevention #60

rotemreiss opened this issue Jun 19, 2023 · 4 comments
Assignees
Labels
Type: Enhancement Most issues will probably ask for additions or changes. wontfix This will not be worked on

Comments

@rotemreiss
Copy link

I'm using the action with custom templates and the option to report findings as GitHub issues.
The issue is that every time my workflow runs (e.g., on push) new issues on the same findings are being created.
Is it possible to not open new issues if an issue already exists? If not, this should only be used on releaae, or what is the optimal trigger for such a workflow?

@forgedhallpass
Copy link

I've created a ticket that would cover this. You can track it here:
projectdiscovery/nuclei#3429

@dogancanbakir dogancanbakir added wontfix This will not be worked on Type: Enhancement Most issues will probably ask for additions or changes. labels Feb 27, 2024
@dogancanbakir dogancanbakir self-assigned this Feb 27, 2024
@dogancanbakir
Copy link
Member

Closing this since this feature is now available for use.

@monizb
Copy link

monizb commented Jul 1, 2024

@dogancanbakir I tried using this on my repo and setting update-existing to true under github, it still seems to create a new issue for every existing issue, here is my reporting config:

allow-list:
  severity: info, low, high, critical, medium

# GitHub contains configuration options for GitHub issue tracker
github:
  # issue-label is the label of the created issue type
  issue-label: security
  # update-existing is the boolean which tells if the existing, opened issue should be updated or new one should be created
  update-existing: true
  # duplicate-issue-check flag to enable duplicate tracking issue check.
  duplicate-issue-check: true
  # username of the github accont being used
  username: user
  # token is the token for GitLab account
  token: test-token
  # project-name is the name/id of the project(repository)
  project-name: "1234"

@dogancanbakir
Copy link
Member

@monizb, Can you create a new issue on https://github.com/projectdiscovery/nuclei ? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes. wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants