Skip to content

Update actions/checkout action to v4.1.1 #602

Update actions/checkout action to v4.1.1

Update actions/checkout action to v4.1.1 #602

Workflow file for this run

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: actions/[email protected]
with:
fetch-depth: 0
- name: Set up Java
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 11
- name: Build
uses: gradle/[email protected]
with:
arguments: |
build
-Proot.project.name=javiersc-kotlin-template
-Psemver.stage=snapshot
-Psemver.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: juliangruber/[email protected]
with:
branch: renovate/hubdle
- name: Auto Approve
if: ${{ (github.event_name == 'pull_request') && (inputs.auto-approve == 'true' || inputs.auto-approve == true) }}
uses: hmarr/[email protected]
with:
github-token: '${{ secrets.TOKEN_GITHUB_ACTION }}'
pull-request-number: ${{ steps.find-pull-request.outputs.number }}
review-message: "Auto approved"