File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Agents
2+
3+ <!-- https://agents.md -->
4+
5+ ## GitHub Actions Workflows
6+
7+ - Always use the latest version
8+ - YML files should begin with --- on the first line.
9+ - All GitHub Actions should use SHA-1 pinned versions.
10+ - All should be formatted with Prettier.
11+ - If using ` actions/checkout ` , it should have ` persist-credentials: false ` set.
12+ - GitHub Actions should have a cooldown period of 7 days.
13+
14+ ## Dependabot
15+
16+ - GitHub Actions updates should be grouped and updated monthly.
17+ - npm packages should be grouped and updated monthly.
18+ - Limit number of Dependabot PRs to be open to 2.
19+ - Dependabot config should be formatted with Prettier.
20+ - Dependencies should have a cooldown period of 7 days
Original file line number Diff line number Diff line change 33 - package-ecosystem : npm
44 directory : " /"
55 schedule :
6- interval : weekly
6+ interval : monthly
77 cooldown :
88 default-days : 7
99 labels :
@@ -16,14 +16,16 @@ updates:
1616 - " minor"
1717 - " patch"
1818 versioning-strategy : increase
19- open-pull-requests-limit : 1
19+ open-pull-requests-limit : 2
2020
2121 - package-ecosystem : github-actions
2222 directory : " /"
2323 schedule :
2424 interval : monthly
25+ cooldown :
26+ default-days : 7
2527 groups :
2628 github-actions :
2729 patterns :
2830 - " *"
29- open-pull-requests-limit : 1
31+ open-pull-requests-limit : 2
Original file line number Diff line number Diff line change 2222 persist-credentials : false
2323
2424 - name : Setup Hugo
25- uses : peaceiris/actions-hugo@v3
25+ uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
2626 with :
2727 hugo-version : ' 0.145.0'
2828 extended : true
4545
4646 - name : Build And Deploy
4747 id : builddeploy
48- uses : Azure/static-web-apps-deploy@v1
48+ uses : Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9 # v1
4949 with :
5050 azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LIVELY_ROCK_075179F10 }}
5151 repo_token : ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
6464 steps :
6565 - name : Close Pull Request
6666 id : closepullrequest
67- uses : Azure/static-web-apps-deploy@v1
67+ uses : Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9 # v1
6868 with :
6969 azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LIVELY_ROCK_075179F10 }}
7070 action : " close"
Original file line number Diff line number Diff line change 1515 persist-credentials : false
1616
1717 - name : " Dependency Review"
18- uses : actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.7
18+ uses : actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
Original file line number Diff line number Diff line change 3030 node-version : 18
3131
3232 - name : Run Sonar Scan Action
33- uses : sonarsource/sonarqube-scan-action@master
33+ uses : sonarsource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9 # v7.0.0
3434 env :
3535 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
3636 SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
You can’t perform that action at this time.
0 commit comments