Send a Slack message when two branches of a repository diverge by a certain number of commits.
Required. The repository owner.
Required. The repository name.
Required. A Slack web client token.
Required. The name of a Slack channel accessible with the provided token.
The base and head branches to measure against, in the format "BASE...HEAD". Default: main...develop
.
The difference in commits needed before sending a message in Slack. Default: 5
.
uses: fishbrain/[email protected]
with:
owner: fishbrain
repository: outstanding-pull-requests-action
slackToken: "some_token"
slackChannel: "#some-channel"
basehead: "master...develop"
commitThreshold: 10
To deploy new changes:
- Make changes and update all references to the package version.
- Run
npm run build
to update action script. - Push changes to
main
branch. - Check CI passed.
- Create a new release on Github matching the new version.