File tree 2 files changed +42
-0
lines changed
2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Close inactive issues
2
+
3
+ on :
4
+ schedule :
5
+ - cron : " 30 1 * * *" # Runs daily at 1:30 AM UTC
6
+
7
+ jobs :
8
+ close-issues :
9
+ runs-on : ubuntu-latest
10
+ permissions :
11
+ issues : write
12
+ pull-requests : write
13
+ steps :
14
+ - uses : actions/stale@v5
15
+ with :
16
+ days-before-issue-stale : 90 # The number of days old an issue can be before marking it stale
17
+ days-before-issue-close : 14 # The number of days to wait to close an issue after it being marked stale
18
+ stale-issue-label : " stale"
19
+ stale-issue-message : " This issue is stale because it has been open for 90 days with no activity."
20
+ close-issue-message : " This issue was closed because it has been inactive for 14 days since being marked as stale."
21
+ days-before-pr-stale : -1 # Disables stale behavior for PRs
22
+ days-before-pr-close : -1 # Disables closing behavior for PRs
23
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - main
5
+ pull_request :
6
+ branches :
7
+ - ' **'
8
+
9
+ name : Secret Leaks
10
+ jobs :
11
+ trufflehog :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout code
15
+ uses : actions/checkout@v4
16
+ with :
17
+ fetch-depth : 0
18
+ - name : Secret Scanning
19
+ uses : trufflesecurity/trufflehog@main
You can’t perform that action at this time.
0 commit comments