test 2 #152
Workflow file for this run
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
name: Update verification metadata | |
on: | |
push: | |
branches: | |
- 'renovate/android.gradle.plugin' | |
workflow_dispatch: | |
jobs: | |
update-verification-metadata: | |
name: Update verification metadata | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.commits[0].message, '[skip update-verification-metadata]') }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }} | |
# - name: Set up JDK | |
# uses: actions/setup-java@v4 | |
# with: | |
# distribution: 'zulu' | |
# java-version: 17 | |
# | |
# - name: Gradle cache | |
# uses: gradle/actions/setup-gradle@v4 | |
# with: | |
# cache-read-only: true | |
# | |
# - name: Grant execute permission for gradlew | |
# run: chmod +x gradlew | |
# | |
# - name: Gradle update verification metadata | |
# run: ./gradlew --write-verification-metadata sha256 build | |
- name: Commit | |
run: | | |
echo ${{ github.event.commits[0].message }} | |
touch test_file.txt | |
git config --global user.name "${{ secrets.ADYEN_AUTOMATION_BOT_USER }}" | |
git config --global user.email "${{ secrets.TOKEN_EMAIL }}" | |
git add . | |
git diff-index --quiet HEAD || git commit -m "Update verification metadata | |
[skip update-verification-metadata]" | |
git push |