gamer025/CodeOwnersNotifer
Github action for notifying codeowners about changes, even if they aren't part of the repo.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| owner | The owner, for example: "dotnet". Assign from `github.repository_owner`. | no | ${{ github.repository_owner }} |
| name | The repository name, for example: "samples". Assign from `github.repository`. | no | ${{ github.repository }} |
| timeout | Timeout for Github API requests in milliseconds. | no | 10000 |
| fileLimit | Maximum amount of files to process, PRs with more files will not be processed. | no | 1000 |
| token | Github token used for Github API. Only needed to increase rate limit, may not be provided. | no | ${{ github.token }} |
| workspace | The workspace directory, or repository root directory. Assign from `github.workspace`. | no | /github/workspace |
| file | Path to the codeowners file. Relative to the repository root. | no | /.github/CODEOWNERS |
| pullID | ID of the PR to process. Assign from `github.event.pull_request.number`. | no | ${{ github.event.pull_request.number }} |
| separator | Separator used if multiple owners are returned. Defaults to space. | no | "" |
| prefix | Prefix that will be added to owners-formatted output + used for finding existing mentions. | no | "" |
| sufix | Sufix that will be added to owners-formatted output + used for finding existing mentions. | no | "" |
| botname | Name of the bot/user that posts notification comments. If this is specified only owners that haven't been mentioned by this user will be output. Should be 'github-actions[bot]' | no | — |
Outputs
| name | description |
|---|---|
| owners | Raw list of owners, seperated with the separator parameter. Use this to determine if owners were found and as input for other actions. |
| owners-formatted | Owners with sufix and prefix paramter added. Use this output as input for comment posting actions. |