You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PRs that go 60 days without activity may be automatically closed. See [these docs](https://github.com/envato/jwt_signed_request?tab=readme-ov-file#stale-prs) for more information.
# This workflow warns and then closes PRs that have had no activity for a specified amount of time.
2
+
#
3
+
# You can adjust the behavior by modifying this file.
4
+
# For more information, see:
5
+
# https://github.com/actions/stale
6
+
name: Label and close stale pull requests
7
+
8
+
on:
9
+
schedule:
10
+
- cron: '0 0 * * *'# daily at midnight
11
+
12
+
jobs:
13
+
stale:
14
+
15
+
runs-on: ubuntu-latest
16
+
permissions:
17
+
issues: write
18
+
pull-requests: write
19
+
20
+
steps:
21
+
- uses: actions/stale@v5
22
+
with:
23
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24
+
stale-issue-message: 'This issue has had no activity for 60 days and is now considered stale. It will be closed in 7 days if there is no further activity.'
25
+
stale-issue-label: 'stale-issue'
26
+
stale-pr-message: 'This pull request has had no activity for 60 days and is now considered stale. It will be closed in 7 days if there is no further activity.'
27
+
stale-pr-label: 'stale-pr'
28
+
days-before-stale: 60
29
+
days-before-close: 7# Will be closed 7 days after being labelled if there is no further activity in that time
30
+
exempt-issue-labels: 'do-not-auto-close'# allows us to allowlist issues that have a valid reason for no activity over a long period of time
31
+
exempt-pr-labels: 'do-not-auto-close'# allows us to allowlist PRs that have a valid reason for no activity over a long period of time
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,14 @@ then run:
21
21
$ bundle
22
22
```
23
23
24
+
## Stale PRs
25
+
26
+
We use the "stale" workflow to manage our PRs.
27
+
If you have a PR open for 60 days without any activity, it will automatically be labelled `stale-pr`.
28
+
If there is no activity for 7 days after this label is applied, the PR will be automatically closed.
29
+
30
+
If you have a PR that has a sensible reason for being open for a long period of time with no activity, you can apply the `do-not-auto-close` label to avoid it being automatically closed.
31
+
24
32
## Generating EC Keys
25
33
26
34
We should be using a public key encryption algorithm such as **ES256**. To generate your public/private key pair using **ES256** run:
0 commit comments