File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,4 +41,5 @@ updates:
4141 all-actions :
4242 patterns :
4343 - " *"
44-
44+ cooldown :
45+ default-days : 7
Original file line number Diff line number Diff line change 1111 lint-api-level :
1212 runs-on : [self-hosted, 1ES.Pool=1es-ubuntu-msgraph-beta-sdk-java-mem-lates-m]
1313 steps :
14- - uses : actions/checkout@v7
15- - uses : actions/setup-java@v5
14+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
15+ - uses : actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
1616 with :
1717 distribution : ' temurin'
1818 java-version : 21
2121 run : .\scripts\copyFilesOnBuild.ps1 -inputPath '.\src\main\java\com\microsoft\graph\beta\generated'
2222 shell : pwsh
2323 - name : Setup Android SDK
24- uses : android-actions/setup-android@v4.0.1
24+ uses : android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4.0.1
25+ with :
26+ packages : ' platform-tools'
2527 - name : Add execution right to the script
2628 run : chmod +x gradlew
2729 working-directory : ./android
3133 working-directory : ./android
3234 - name : Upload linting results
3335 if : failure() && steps.lint.outcome == 'failure'
34- uses : actions/upload-artifact@v7
36+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3537 with :
3638 name : lint-report
3739 path : ./android/build/reports
Original file line number Diff line number Diff line change 1919 steps :
2020 - name : Dependabot metadata
2121 id : metadata
22- uses : dependabot/fetch-metadata@v3.1.0
22+ uses : dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
2323 with :
2424 github-token : " ${{ secrets.GITHUB_TOKEN }}"
2525
Original file line number Diff line number Diff line change @@ -42,18 +42,18 @@ jobs:
4242
4343 steps :
4444 - name : Checkout repository
45- uses : actions/checkout@v7
45+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4646
4747 - name : Set up JDK
48- uses : actions/setup-java@v5
48+ uses : actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
4949 with :
5050 java-version : 21
5151 distribution : ' temurin'
5252 cache : maven
5353
5454 # Initializes the CodeQL tools for scanning.
5555 - name : Initialize CodeQL
56- uses : github/codeql-action/init@v4
56+ uses : github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
5757 with :
5858 languages : ${{ matrix.language }}
5959
8080 run : ./mvnw compile --no-transfer-progress -DskipTests
8181
8282 - name : Perform CodeQL Analysis
83- uses : github/codeql-action/analyze@v4
83+ uses : github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
8484 with :
8585 category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 1414 build-latest-java :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v7
17+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1818 - name : Set up JDK
19- uses : actions/setup-java@v5
19+ uses : actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
2020 with :
2121 java-version : 21
2222 distribution : ' temurin'
@@ -28,13 +28,13 @@ jobs:
2828 run : ./mvnw verify --no-transfer-progress
2929 - name : Upload Unit Test Results
3030 if : ${{ always() }}
31- uses : actions/upload-artifact@v7
31+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3232 with :
3333 name : UnitTests
3434 path : |
3535 target/surefire-reports/**
3636 - name : Upload a Build Artifact
37- uses : actions/upload-artifact@v7
37+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3838 with :
3939 name : drop
4040 path : |
4848 build-java-8 :
4949 runs-on : ubuntu-latest
5050 steps :
51- - uses : actions/checkout@v7
51+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5252 - name : Set up JDK
53- uses : actions/setup-java@v5
53+ uses : actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
5454 with :
5555 java-version : 8
5656 distribution : ' temurin'
Original file line number Diff line number Diff line change 1818 steps :
1919 - name : Generate token
2020 id : generate_token
21- uses : actions/create-github-app-token@v3
21+ uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
2222 with :
2323 app-id : ${{ secrets.GRAPHBOT_APP_ID }}
2424 private-key : ${{ secrets.GRAPHBOT_APP_PEM }}
Original file line number Diff line number Diff line change @@ -21,17 +21,17 @@ jobs:
2121 release :
2222 runs-on : ubuntu-latest
2323 steps :
24- - uses : actions/checkout@v7
24+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525
2626 - name : Generate GitHub App token
2727 id : app-token
28- uses : actions/create-github-app-token@v3
28+ uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
2929 with :
3030 app-id : ${{ vars.RELEASE_PLEASE_TOKEN_PROVIDER_APP_ID }}
3131 private-key : ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }}
3232
3333 - name : Release Please
34- uses : googleapis/release-please-action@v5
34+ uses : googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
3535 with :
3636 token : ${{ steps.app-token.outputs.token }}
3737 config-file : release-please-config.json
You can’t perform that action at this time.
0 commit comments