Update dependency com.javiersc.hubdle to v0.7.1 #640
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: build | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: JavierSegoviaCordoba/reusable-workflows/actions/checkout@main | |
- name: Set up Java | |
uses: JavierSegoviaCordoba/reusable-workflows/actions/setup-java@main | |
- name: Set up Gradle | |
uses: JavierSegoviaCordoba/reusable-workflows/actions/setup-gradle@main | |
- name: Build | |
run: ./gradlew build -P root.project.name=javiersc-kotlin-template -P semver.stage=snapshot -P semver.scope=patch | |
- name: Find Pull Request | |
if: ${{ (github.event_name == 'pull_request') && (inputs.auto-approve == 'true' || inputs.auto-approve == true) }} | |
id: find-pull-request | |
uses: JavierSegoviaCordoba/reusable-workflows/actions/find-pull-request@main | |
with: | |
branch: 'renovate/hubdle' | |
- name: Auto Approve | |
if: ${{ (github.event_name == 'pull_request') && (inputs.auto-approve == 'true' || inputs.auto-approve == true) }} | |
uses: JavierSegoviaCordoba/reusable-workflows/actions/auto-approve@main | |
with: | |
github-token: '${{ secrets.TOKEN_GITHUB_ACTION }}' | |
pull-request-number: ${{ steps.find-pull-request.outputs.number }} |