File tree 3 files changed +81
-0
lines changed 3 files changed +81
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Markdown links
2
+
3
+ # on:
4
+ # push:
5
+ # branches:
6
+ # - master
7
+ # pull_request:
8
+ # branches: [master]
9
+ on : push
10
+ jobs :
11
+ markdown-link-check :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - uses : technote-space/get-diff-action@v6
16
+ with :
17
+ PATTERNS : |
18
+ **/**.md
19
+
20
+ - uses : gaurav-nelson/github-action-markdown-link-check@v1
21
+ with :
22
+ use-quiet-mode : ' yes'
23
+ use-verbose-mode : ' yes'
24
+ config-file : ' .md_check_config.json'
25
+
Original file line number Diff line number Diff line change
1
+ name : detect secrets
2
+
3
+ on : push
4
+
5
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
6
+ jobs :
7
+ # This workflow contains a single job called "detect-secrets"
8
+ detect-secrets :
9
+ runs-on : ubuntu-latest
10
+
11
+ # Steps represent a sequence of tasks that will be executed as part of the job
12
+ steps :
13
+
14
+ # Checks-out your repository under ${{github.workspace}}, so your job can access it
15
+ - uses : actions/checkout@v4
16
+
17
+ - name : scan all the files (not just the ones committed), generate a report, and check that there are no actual or potential secret
18
+ run : |
19
+ docker run --pull=always -a stdout \
20
+ -v ${{github.workspace}}:/code \
21
+ --entrypoint /bin/sh \
22
+ icr.io/git-defenders/detect-secrets:0.13.1.ibm.61.dss-redhat-ubi \
23
+ -c "detect-secrets --version;
24
+ detect-secrets scan --all-files --exclude-files "^.git/.*" --update .secrets.baseline;
25
+ detect-secrets audit --report --fail-on-unaudited --fail-on-live --fail-on-audited-real .secrets.baseline"
26
+
27
+ - name : Report Status
28
+ if : always()
29
+ uses : ravsamhq/notify-slack-action@master
30
+ with :
31
+ status : ${{ job.status }}
32
+ notify_when : ' failure'
33
+ env :
34
+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
Original file line number Diff line number Diff line change
1
+ name : Close inactive issues
2
+ on :
3
+ schedule :
4
+ - cron : " 30 1 * * *"
5
+
6
+ jobs :
7
+ close-issues :
8
+ runs-on : ubuntu-latest
9
+ permissions :
10
+ issues : write
11
+ pull-requests : write
12
+ steps :
13
+ - uses : actions/stale@v8
14
+ with :
15
+ days-before-issue-stale : 30
16
+ days-before-issue-close : 14
17
+ stale-issue-label : " stale"
18
+ stale-issue-message : " This issue is stale because it has been open for 30 days with no activity."
19
+ close-issue-message : " This issue was closed because it has been inactive for 14 days since being marked as stale."
20
+ days-before-pr-stale : -1
21
+ days-before-pr-close : -1
22
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments