Skip to content

Commit b5ca871

Browse files
committed
add minimum open time action for PRs
1 parent ab0453e commit b5ca871

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on:
2+
- pull_request
3+
- workflow_dispatch
4+
# not sure about scheduling only on PRs. See https://github.com/orgs/community/discussions/49960
5+
# - schedule
6+
# - cron: '0 * * * *'
7+
8+
jobs:
9+
require-minimum-open-time:
10+
runs-on: ubuntu-latest
11+
name: Require Minimum Open Time
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: gregsdennis/minimum-open-time@main
15+
with:
16+
time: 2w # see below for options
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)