actions-label-commenter icon indicating copy to clipboard operation
actions-label-commenter copied to clipboard

proposal: Option to ignore users

Open Andre601 opened this issue 1 year ago • 1 comments

Checklist

  • [X] I am using the latest version of this action.
  • [X] I have read the latest README and followed the instructions.
  • [X] I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your proposal

A new option to set a list of users the Action should ignore when running.

Depending on how difficult this could be, should support for teams be considered too, to ignore people of a specific team.

Describe the solution you'd like

The config option would be a string (Given github actions doesn't support anything else really) where each name is space-separated(?)

Example:

# All the actions stuff

jobs:
  comment:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Comment
        uses: peaceiris/actions-label-commenter@v1
        with:
          ignored_users: |
            Someone
            @some-team # Maybe as a team format? Or just like name?

Describe alternatives you've considered

Only alternative I could consider is setting up some evaluation that checks the users first to then skip steps, which is rather complicated for me to figure out.

Additional context

No response

Andre601 avatar May 18 '24 23:05 Andre601

Hi, there.

Thank you @Andre601 for suggesting this.


This is an automated comment created by the peaceiris/actions-label-commenter. Responding to the bot or mentioning it won't have any effect.