Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/tools/github.com/hashi…
Browse files Browse the repository at this point in the history
…corp/go-retryablehttp-0.7.7
  • Loading branch information
katallaxie authored Oct 15, 2024
2 parents ce17a00 + df1df74 commit d48550c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ name: Test & Build

on:
workflow_call:
inputs:
disable_deploy:
type: boolean
default: false
push:
branches:
- main
Expand All @@ -30,7 +34,7 @@ jobs:
path: .test/reports/**-test.xml
reporter: java-junit
fail-on-error: "true"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: Test Reports
Expand All @@ -47,7 +51,7 @@ jobs:
- run: make lint

deploy:
if: ${{ github.actor != 'dependabot[bot]' }}
if: ${{ github.actor != 'dependabot[bot]' }} && ${{ inputs.disable_deploy == false }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
permissions:
checks: write
uses: ./.github/workflows/main.yml

with:
disable_deploy: ${{ github.actor == 'dependabot[bot]' }}
plan:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
Expand Down

0 comments on commit d48550c

Please sign in to comment.