We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4089b1e + 2a7bd46 commit 2095bd3Copy full SHA for 2095bd3
.github/workflows/minimum-open-time.yml
@@ -0,0 +1,20 @@
1
+name: PR Policy
2
+on:
3
+ pull_request:
4
+ workflow_dispatch:
5
+ # scheduling only on PRs is not directly supported. See https://github.com/orgs/community/discussions/49960
6
+ schedule:
7
+ - cron: '0 0 * * *' # once daily
8
+
9
+jobs:
10
+ require-minimum-open-time:
11
+ if: github.event_name == 'pull_request'
12
+ runs-on: ubuntu-latest
13
+ name: Require Minimum Open Time
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - uses: gregsdennis/minimum-open-time@main
17
+ with:
18
+ time: 2w # see below for options
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments