Skip to content

Commit cd7bd67

Browse files
Copilotscordio
andauthored
Pin GitHub Actions dependencies with commit SHAs and update Dependabot to weekly schedule (#316)
* Initial plan * Pin GitHub Actions dependencies with commit SHAs and update Dependabot to weekly schedule - Pin actions/checkout@v4 to specific commit SHA with version comment - Pin actions/setup-java@v4 to specific commit SHA with version comment - Update Dependabot to weekly schedule for GitHub Actions - Group all GitHub Actions updates in single group Co-authored-by: scordio <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: scordio <[email protected]>
1 parent c472192 commit cd7bd67

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@ updates:
1111
- package-ecosystem: "github-actions"
1212
directory: "/"
1313
schedule:
14-
interval: "daily"
14+
interval: "weekly"
15+
day: "monday"
1516
time: "02:00"
17+
groups:
18+
github-actions:
19+
patterns:
20+
- "*"

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1818
with:
1919
fetch-depth: 0
2020
- name: Set up JDK 21
21-
uses: actions/setup-java@v4
21+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
2222
with:
2323
distribution: 'temurin'
2424
java-version: '21'

0 commit comments

Comments
 (0)