Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierSegoviaCordoba committed Jan 29, 2025
1 parent c8b38d1 commit da953f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ jobs:

steps:
- name: Checkout
uses: JavierSegoviaCordoba/reusable-workflows/actions/checkout@main
uses: JavierSegoviaCordoba/actions/git/checkout@main

- name: Set up Java
uses: JavierSegoviaCordoba/reusable-workflows/actions/setup-java@main
uses: JavierSegoviaCordoba/actions/java/setup@main

- name: Set up Gradle
uses: JavierSegoviaCordoba/reusable-workflows/actions/setup-gradle@main
uses: JavierSegoviaCordoba/actions/gradle/setup@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
uses: JavierSegoviaCordoba/actions/github/pull-request/find@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
uses: JavierSegoviaCordoba/actions/github/pull-request/auto-approve@main
with:
github-token: '${{ secrets.TOKEN_GITHUB_ACTION }}'
pull-request-number: ${{ steps.find-pull-request.outputs.number }}
2 changes: 1 addition & 1 deletion .github/workflows/initial-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

steps:
- name: Checkout
uses: JavierSegoviaCordoba/reusable-workflows/actions/checkout@main
uses: JavierSegoviaCordoba/actions/git/checkout@main
with:
token: '${{ secrets.TOKEN_GITHUB_ACTION }}'

Expand Down

0 comments on commit da953f0

Please sign in to comment.