-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #566 from commercetools/renovate/pin-dependencies
- Loading branch information
Showing
7 changed files
with
48 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
|
||
- uses: gradle/[email protected] | ||
- uses: gradle/wrapper-validation-action@27152f6fa06a6b8062ef7195c795692e51fc2c81 # v2.0.0 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
# Get GitHub token via the CT SDKs App | ||
- name: Generate GitHub token (via CT SDKs App) | ||
id: generate_github_token | ||
uses: actions/create-github-app-token@v1 | ||
uses: actions/create-github-app-token@86576b355dd19da0519e0bdb63d8edb5bcf76a25 # v1 | ||
with: | ||
app-id: ${{ secrets.CT_SDKS_APP_ID }} | ||
private-key: ${{ secrets.CT_SDKS_APP_PEM }} | ||
|
@@ -38,28 +38,28 @@ jobs: | |
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT" | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
# Pass a personal access token (using our CT SDKs App) to be able to trigger other workflows | ||
# https://help.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token | ||
# https://github.community/t/action-does-not-trigger-another-on-push-tag-action/17148/8 | ||
token: ${{ steps.generate_github_token.outputs.token }} | ||
- uses: gradle/[email protected] | ||
- uses: gradle/wrapper-validation-action@27152f6fa06a6b8062ef7195c795692e51fc2c81 # v2.0.0 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: Setup Graphviz | ||
uses: ts-graphviz/[email protected] | ||
uses: ts-graphviz/setup-graphviz@c001ccfb5aff62e28bda6a6c39b59a7e061be5b9 # v1.2.0 | ||
|
||
- name: Fix code style | ||
if: github.event_name == 'push' && github.ref != 'refs/heads/main' | ||
run: ./gradlew spotlessApply | ||
|
||
- uses: stefanzweifel/[email protected] | ||
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
id: commit_style_fix | ||
if: github.event_name == 'push' && github.ref != 'refs/heads/main' | ||
with: | ||
|
@@ -73,7 +73,7 @@ jobs: | |
if: steps.commit_style_fix.outputs.changes_detected == 'true' | ||
run: echo "${{steps.auto-commit-action.outputs.commit_hash}}" >> .git-blame-ignore-revs | ||
|
||
- uses: stefanzweifel/[email protected] | ||
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
id: commit_rev_ignore | ||
if: github.event_name == 'push' && github.ref != 'refs/heads/main' | ||
with: | ||
|
@@ -92,7 +92,7 @@ jobs: | |
if: ${{ failure() }} | ||
run: cat licenses/dependencies-without-allowed-license.json | ||
|
||
- uses: stefanzweifel/[email protected] | ||
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
id: commit_license_change | ||
if: github.event_name == 'push' && github.ref != 'refs/heads/main' | ||
with: | ||
|
@@ -149,26 +149,26 @@ jobs: | |
# Get GitHub token via the CT SDKs App | ||
- name: Generate GitHub token (via CT SDKs App) | ||
id: generate_github_token | ||
uses: actions/create-github-app-token@v1 | ||
uses: actions/create-github-app-token@86576b355dd19da0519e0bdb63d8edb5bcf76a25 # v1 | ||
with: | ||
app-id: ${{ secrets.CT_SDKS_APP_ID }} | ||
private-key: ${{ secrets.CT_SDKS_APP_PEM }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
token: ${{ steps.generate_github_token.outputs.token }} | ||
|
||
- uses: gradle/[email protected] | ||
- uses: gradle/wrapper-validation-action@27152f6fa06a6b8062ef7195c795692e51fc2c81 # v2.0.0 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: Setup Graphviz | ||
uses: ts-graphviz/[email protected] | ||
uses: ts-graphviz/setup-graphviz@c001ccfb5aff62e28bda6a6c39b59a7e061be5b9 # v1.2.0 | ||
|
||
- name: build javadoc | ||
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
# Get GitHub token via the CT SDKs App | ||
- name: Generate GitHub token (via CT SDKs App) | ||
id: generate_github_token | ||
uses: actions/create-github-app-token@v1 | ||
uses: actions/create-github-app-token@86576b355dd19da0519e0bdb63d8edb5bcf76a25 # v1 | ||
with: | ||
app-id: ${{ secrets.CT_SDKS_APP_ID }} | ||
private-key: ${{ secrets.CT_SDKS_APP_PEM }} | ||
|
@@ -32,13 +32,13 @@ jobs: | |
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT" | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
token: ${{ steps.generate_github_token.outputs.token }} | ||
|
||
- uses: gradle/[email protected] | ||
- uses: gradle/wrapper-validation-action@27152f6fa06a6b8062ef7195c795692e51fc2c81 # v2.0.0 | ||
|
||
- uses: jenschude/[email protected] | ||
- uses: jenschude/auto-create-pr-action@a5369414c74963e6ec065dab49066d3711b8c1db # v0.3.2 | ||
if: github.ref_name == 'gen-sdk-updates' | ||
with: | ||
request_title: "Update generated SDKs" | ||
|
@@ -53,7 +53,7 @@ jobs: | |
### Breaking changes | ||
- uses: jenschude/[email protected] | ||
- uses: jenschude/auto-create-pr-action@a5369414c74963e6ec065dab49066d3711b8c1db # v0.3.2 | ||
if: github.ref_name == 'after-release' | ||
with: | ||
request_title: "Update changelog" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
# Get GitHub token via the CT SDKs App | ||
- name: Generate GitHub token (via CT SDKs App) | ||
id: generate_github_token | ||
uses: actions/create-github-app-token@v1 | ||
uses: actions/create-github-app-token@86576b355dd19da0519e0bdb63d8edb5bcf76a25 # v1 | ||
with: | ||
app-id: ${{ secrets.CT_SDKS_APP_ID }} | ||
private-key: ${{ secrets.CT_SDKS_APP_PEM }} | ||
|
@@ -39,33 +39,33 @@ jobs: | |
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT" | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
path: sdk | ||
token: ${{ steps.generate_github_token.outputs.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
path: doc | ||
ref: gh-pages | ||
token: ${{ steps.generate_github_token.outputs.token }} | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: Setup Graphviz | ||
uses: ts-graphviz/[email protected] | ||
uses: ts-graphviz/setup-graphviz@c001ccfb5aff62e28bda6a6c39b59a7e061be5b9 # v1.2.0 | ||
|
||
- run: ./gradlew -Pversion=${{ github.event.inputs.version }} alljavadoc | ||
working-directory: sdk | ||
|
||
- run: rsync -r sdk/build/docs/javadoc/ doc/javadoc | ||
|
||
- uses: stefanzweifel/[email protected] | ||
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
with: | ||
repository: doc | ||
commit_message: "Update javadoc" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,20 +16,20 @@ jobs: | |
# Get GitHub token via the CT SDKs App | ||
- name: Generate GitHub token (via CT SDKs App) | ||
id: generate_github_token | ||
uses: actions/create-github-app-token@v1 | ||
uses: actions/create-github-app-token@86576b355dd19da0519e0bdb63d8edb5bcf76a25 # v1 | ||
with: | ||
app-id: ${{ secrets.CT_SDKS_APP_ID }} | ||
private-key: ${{ secrets.CT_SDKS_APP_PEM }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
token: ${{ steps.generate_github_token.outputs.token }} | ||
|
||
- uses: gradle/[email protected] | ||
- uses: gradle/wrapper-validation-action@27152f6fa06a6b8062ef7195c795692e51fc2c81 # v2.0.0 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,12 @@ jobs: | |
if: startsWith( github.ref, 'refs/tags/') | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
|
||
- uses: gradle/[email protected] | ||
- uses: gradle/wrapper-validation-action@27152f6fa06a6b8062ef7195c795692e51fc2c81 # v2.0.0 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
@@ -55,7 +55,7 @@ jobs: | |
# Get GitHub token via the CT SDKs App | ||
- name: Generate GitHub token (via CT SDKs App) | ||
id: generate_github_token | ||
uses: actions/create-github-app-token@v1 | ||
uses: actions/create-github-app-token@86576b355dd19da0519e0bdb63d8edb5bcf76a25 # v1 | ||
with: | ||
app-id: ${{ secrets.CT_SDKS_APP_ID }} | ||
private-key: ${{ secrets.CT_SDKS_APP_PEM }} | ||
|
@@ -69,12 +69,12 @@ jobs: | |
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT" | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
ref: main | ||
token: ${{ steps.generate_github_token.outputs.token }} | ||
|
||
- uses: gradle/[email protected] | ||
- uses: gradle/wrapper-validation-action@27152f6fa06a6b8062ef7195c795692e51fc2c81 # v2.0.0 | ||
|
||
- run: ./gradlew -Pversion=${{ github.ref_name }} writeVersionToExamples writeVersionToReadme setVersion nextMinorVersion snapshotVersion | ||
|
||
|
@@ -97,7 +97,7 @@ jobs: | |
run: rm -rf reference.txt | ||
continue-on-error: true | ||
|
||
- uses: stefanzweifel/[email protected] | ||
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
with: | ||
commit_message: "TASK: Updating version in README" | ||
commit_author: ct-sdks[bot] <${{ steps.get_app_user.outputs.email }}> | ||
|
@@ -117,7 +117,7 @@ jobs: | |
# Get GitHub token via the CT SDKs App | ||
- name: Generate GitHub token (via CT SDKs App) | ||
id: generate_github_token | ||
uses: actions/create-github-app-token@v1 | ||
uses: actions/create-github-app-token@86576b355dd19da0519e0bdb63d8edb5bcf76a25 # v1 | ||
with: | ||
app-id: ${{ secrets.CT_SDKS_APP_ID }} | ||
private-key: ${{ secrets.CT_SDKS_APP_PEM }} | ||
|
@@ -131,33 +131,33 @@ jobs: | |
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT" | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
path: sdk | ||
token: ${{ steps.generate_github_token.outputs.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
path: doc | ||
ref: gh-pages | ||
token: ${{ steps.generate_github_token.outputs.token }} | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: Setup Graphviz | ||
uses: ts-graphviz/[email protected] | ||
uses: ts-graphviz/setup-graphviz@c001ccfb5aff62e28bda6a6c39b59a7e061be5b9 # v1.2.0 | ||
|
||
- run: ./gradlew -Pversion=${{ github.ref_name }} alljavadoc | ||
working-directory: sdk | ||
|
||
- run: rsync -r sdk/build/docs/javadoc/ doc/javadoc | ||
|
||
- uses: stefanzweifel/[email protected] | ||
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
with: | ||
repository: doc | ||
commit_message: "Update javadoc" | ||
|