Skip to content

Commit 3af17ea

Browse files
Pin GitHub Actions to full-length commit SHAs
1 parent 4c8747c commit 3af17ea

3 files changed

Lines changed: 14 additions & 5 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,12 @@ updates:
1313
directory: "/app-auth/graphapponlytutorial/" # Location of package manifests
1414
schedule:
1515
interval: "weekly"
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
groups:
19+
github-actions:
20+
patterns: ["*"]
21+
schedule:
22+
interval: "weekly"
23+
cooldown:
24+
default-days: 7

‎.github/workflows/auto-merge-dependabot.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Dependabot metadata
2121
id: metadata
22-
uses: dependabot/fetch-metadata@v1
22+
uses: dependabot/fetch-metadata@8348ea7f5d949b08c7f125a44b569c9626b05db3 # v1.7.0
2323
with:
2424
github-token: "${{ secrets.GITHUB_TOKEN }}"
2525

‎.github/workflows/gradle.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
2626
- name: Set up JDK 17
27-
uses: actions/setup-java@v3
27+
uses: actions/setup-java@e9fbacdec3bb3b6036605a3e6f7995d66773a8c6 # v3.14.2
2828
with:
2929
java-version: '17'
3030
distribution: 'temurin'
3131
- name: Make user app gradlew executable
3232
run: chmod +x ./user-auth/graphtutorial/gradlew
3333
- name: Build user app with Gradle
34-
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
34+
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee # v2.1.4
3535
with:
3636
build-root-directory: user-auth/graphtutorial
3737
arguments: build
3838
- name: Make app-only app gradlew executable
3939
run: chmod +x ./app-auth/graphapponlytutorial/gradlew
4040
- name: Build app-only app with Gradle
41-
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
41+
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee # v2.1.4
4242
with:
4343
build-root-directory: app-auth/graphapponlytutorial
4444
arguments: build

0 commit comments

Comments
 (0)