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

[REQ] The PR decoration tool generates a new comment every time a new commit is made #580

Closed
rzandonai opened this issue Sep 17, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@rzandonai
Copy link

Is your request related to a workflow problem?

The PR decoration tool generates a new comment every time a new commit is made to the pull request, which results in clutter. I would like the comment to be updated instead of generating a new one each time.

Propose a solution

I propose that the PR decoration tool should be modified to update the existing comment when a new commit is made to the pull request, rather than creating a new comment for each commit.

Additional comments

No additional comments at this time.

@rzandonai rzandonai added the enhancement New feature or request label Sep 17, 2023
@github-actions
Copy link

Internal Jira issue: AST-29809

@jbrotsos
Copy link
Contributor

@rzandonai Which Code Repo is this for (GH, GL, ADO, Bitbucket)? Are you using Webhook integration or a CLI command (i.e. GH Actions)?

@rzandonai
Copy link
Author

Github, CLI on a Tekton pipeline

@pedrompflopes
Copy link
Collaborator

Hi @rzandonai

Do you have a way to check the PR event action in tekton ? If no code changes were made the scan shouldn't be triggered at all.

You could check the following status.
"opened", "reopened", "synchronize"
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants