Skip to content

Commit

Permalink
Merge pull request #5 from ghga-de/feature/conditional-checkout
Browse files Browse the repository at this point in the history
Enable turning the initial checkout step off
  • Loading branch information
ckaipf authored Aug 7, 2024
2 parents 73cf015 + ec93639 commit a922e3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
name: "GHGA CI action tasks"
description: "Tasks that are executed in our CI pipeline for GHGA microservices"
inputs:
checkout:
description: "Checkout the repository"
required: false
default: "true"
dockerhub_username:
description: "The DockerHub username"
required: true
Expand Down Expand Up @@ -48,6 +52,7 @@ runs:
steps:
- uses: actions/checkout@v4
name: Check out code
if: ${{ inputs.checkout == 'true' }}

- if: contains(fromJSON('["release"]'), github.event_name)
name: Ensure that tag complies with semantic versioning.
Expand Down

0 comments on commit a922e3f

Please sign in to comment.