Skip to content

Commit

Permalink
REFACT: run hadolint-gh-action multiple times
Browse files Browse the repository at this point in the history
Note: this is now possible since
jbergstroem/hadolint-gh-action#135
got merged and released.
  • Loading branch information
SMoraisAnsys committed Feb 2, 2024
1 parent 7f0caee commit 72236b6
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions code-style/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,13 @@ runs:
recursive: ${{ inputs.docker-recursive }}
error-level: ${{ inputs.docker-error-level }}

# FIXME: Currently the action cannot work with multiple directory
# because of a bug, see
# https://github.com/jbergstroem/hadolint-gh-action/pull/135
# - name: "Run Dockerfile linting in '.devcontainer' directory"
# if: ${{ inputs.docker-lint == 'true' }}
# uses: ansys/actions/docker-style@feat/lint_dockerfile
# with:
# directory: .devcontainer
# recursive: ${{ inputs.docker-recursive }}
# error-level: ${{ inputs.docker-error-level }}
- name: "Run Dockerfile linting in '.devcontainer' directory"
if: ${{ inputs.docker-lint == 'true' }}
uses: ansys/actions/docker-style@feat/lint_dockerfile
with:
directory: .devcontainer
recursive: ${{ inputs.docker-recursive }}
error-level: ${{ inputs.docker-error-level }}

# ------------------------------------------------------------------------

Expand Down

0 comments on commit 72236b6

Please sign in to comment.