Skip to content

Commit

Permalink
Enable turning the initial checkout step off
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuchenb committed Aug 6, 2024
1 parent 73cf015 commit ec93639
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 ec93639

Please sign in to comment.