Repository navigation
Expand file tree
/
Copy pathaction.yml
More file actions
37 lines (37 loc) · 1.6 KB
/
Copy pathaction.yml
File metadata and controls
37 lines (37 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: 'Outstanding Pull Requests'
description: 'Send a Slack message when too many pull requests are merged into one branch but not yet into another.'
author: 'Luke Hansford <@lhansford>'
inputs:
slackToken:
description: 'A Slack bot token that can post to every channel in slackChannel.'
required: true
slackChannel:
description: 'The Slack channel or channels to post to, by name ("#releases") or ID. Separate several with commas, whitespace or newlines. Duplicates post once.'
required: true
basehead:
description: 'The branches to compare, as "BASE...HEAD". Pull requests in HEAD but not in BASE count as outstanding.'
required: false
default: 'main...develop'
pullRequestThreshold:
description: 'Post to Slack when at least this many pull requests are outstanding. A positive integer; defaults to 5.'
required: false
commitThreshold:
description: 'Deprecated alias for pullRequestThreshold. Despite the name, it counts pull requests, not commits.'
required: false
deprecationMessage: 'commitThreshold is deprecated and counts pull requests, not commits. Use pullRequestThreshold instead.'
token:
description: 'A GitHub token with read access to the repository.'
required: false
default: ${{ github.token }}
owner:
description: 'The repository owner. Defaults to the owner of the repository running the workflow.'
required: false
repository:
description: 'The repository name. Defaults to the repository running the workflow.'
required: false
branding:
color: 'blue'
icon: 'git-pull-request'
runs:
using: 'node24'
main: 'dist/index.js'