label-when-approved-action

Set label when PR is approved.

MIT License

Stars
7
Committers
2

Bot releases are hidden (Show)

label-when-approved-action - v1.4 Latest Release

Published by TobKed about 3 years ago

Added by @potiuk

Removing label when you lost or never had an approval status
might not be what you desire to do. In some workflows when
the label is manually set, removing it is automatically is
harmful and it's better to leave the decision about removal
to the commiters.

Adding the parameter solves the problem.

Thanks @potiuk 👏 🚀

label-when-approved-action - v1.3

Published by TobKed almost 4 years ago

  • turns missing pr in workflow_run into warning.

Sometimes (quite often really) when PR gets approved, the PR
gets merged rather quickly, without waiting for result of this
action. Or a new PR gets pushed quickly. In those cases PR will
not be found. But this is usually not a problem then and rather
than failing, we should simply print a warning and exit.

label-when-approved-action - v1.2

Published by TobKed almost 4 years ago

  • add support for "workflow_run" workflows to avoid lack of permission on PRs from forks
label-when-approved-action - v1.1

Published by TobKed almost 4 years ago

  • fix name of the state
  • update README
label-when-approved-action - v1

Published by TobKed almost 4 years ago

  • optional comment to the PR when became approved (requires label to be set)
  • updated README
label-when-approved-action -

Published by TobKed almost 4 years ago