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

Add actor name option #460

Merged
merged 8 commits into from
Jun 1, 2023
Merged

Conversation

RafikFarhad
Copy link
Contributor

In one of my org projects, I can not use GITHUB_TOKEN for API rate limiting issues. So I used GitHub App to authenticate this action.
But the issue in this approach is the action creates a new comment for each run which bloats the PR (I run 3 workflows with this action for each commit, for 10 commits, it creates 30 comments).
In this PR, we are adding support for optionally providing actor_name, which will be used to find the correct comment to be replaced.

I am not totally sure about the naming of this new variable. Please suggest if this needs to be changed.

And thanks for this awesome action.

@github-actions
Copy link

github-actions bot commented May 30, 2023

Test Results (reference)

       87 files  ±    0         87 suites  ±0   35m 13s ⏱️ -19s
     420 tests +    3       420 ✔️ +    3      0 💤 ±0  0 ±0 
36 540 runs  +261  35 856 ✔️ +261  684 💤 ±0  0 ±0 

Results for commit 5ea5598. ± Comparison against base commit fa88269.

♻️ This comment has been updated with latest results.

Copy link
Owner

@EnricoMi EnricoMi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, the action does not find it's own comments, because it is not running as github_actions.

README.md Outdated Show resolved Hide resolved
action.yml Outdated Show resolved Hide resolved
action.yml Outdated Show resolved Hide resolved
@RafikFarhad RafikFarhad requested a review from EnricoMi May 31, 2023 16:24
@EnricoMi EnricoMi changed the title Optional actor name Add actor name option Jun 1, 2023
Copy link
Owner

@EnricoMi EnricoMi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@EnricoMi EnricoMi merged commit b66cb73 into EnricoMi:master Jun 1, 2023
@EnricoMi
Copy link
Owner

This has been released.

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

Successfully merging this pull request may close these issues.

2 participants