Fix auto-update SDK automation (#8260)
This commit is contained in:
parent
53fc6b6d9f
commit
41d7ed00b5
|
|
@ -57,15 +57,20 @@ jobs:
|
||||||
VERSION: ${{ needs.check-versions.outputs.latest-version }}
|
VERSION: ${{ needs.check-versions.outputs.latest-version }}
|
||||||
run: ./.github/scripts/update-sdk-version.sh $VERSION
|
run: ./.github/scripts/update-sdk-version.sh $VERSION
|
||||||
|
|
||||||
|
- name: Use CLA approved github bot
|
||||||
|
run: .github/scripts/use-cla-approved-github-bot.sh
|
||||||
|
|
||||||
- name: Update license report
|
- name: Update license report
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: generateLicenseReport
|
arguments: generateLicenseReport
|
||||||
|
|
||||||
- name: Use CLA approved github bot
|
- name: Undo license report clean
|
||||||
run: .github/scripts/use-cla-approved-github-bot.sh
|
if: failure()
|
||||||
|
run: git checkout -- licenses
|
||||||
|
|
||||||
- name: Create pull request against main
|
- name: Create pull request against main
|
||||||
|
if: success() || failure()
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.check-versions.outputs.latest-version }}
|
VERSION: ${{ needs.check-versions.outputs.latest-version }}
|
||||||
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
|
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue