step-security/StepSecurity Label Merge Conflicts

Detect pull requests with merge conflicts and label them. Optionally remove a separate label and post comments when a PR becomes dirty or clean again.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repoTokenGitHub token used to read pull requests and mutate labels/comments. Typically secrets.GITHUB_TOKEN.yes
dirtyLabelLabel to add to a pull request whose mergeable state is CONFLICTING.yes
removeOnDirtyLabelLabel to remove from a pull request when it becomes dirty (e.g. 'ready to merge').no
retryAfterSeconds to wait before re-checking pull requests whose mergeable state is UNKNOWN.no120
retryMaxMaximum number of retries when GitHub reports UNKNOWN mergeable state.no5
continueOnMissingPermissionsIf true, log a warning and continue when the supplied token lacks permission to modify labels or comments. Useful for fork pull requests with a read-only token.nofalse
commentOnDirtyMarkdown body for a comment posted the first time a pull request is marked dirty.no
commentOnCleanMarkdown body for a comment posted when a previously-dirty pull request becomes clean.no
namedescription
prDirtyStatusesJSON object mapping each pull request number to a boolean indicating whether it is currently dirty.