Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
detect-changes:
uses: ppat/github-workflows/.github/workflows/detect-changed-files.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/detect-changed-files.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
# yamllint disable-line rule:indentation
files_yaml: |
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

commit-messages:
if: ${{ github.event_name == 'pull_request' }}
uses: ppat/github-workflows/.github/workflows/lint-commit-messages.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/lint-commit-messages.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref }}
fetch_depth: ${{ github.event.pull_request.commits || 0 }}
Expand All @@ -85,61 +85,61 @@ jobs:
github-actions:
needs: [detect-changes]
if: ${{ github.event_name != 'pull_request' || fromJSON(needs.detect-changes.outputs.results).actions_any_changed == 'true' }}
uses: ppat/github-workflows/.github/workflows/lint-github-actions.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/lint-github-actions.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref || github.ref }}
files: ${{ github.event_name != 'pull_request' && 'ALL' || fromJSON(needs.detect-changes.outputs.results).actions_all_changed_files }}

markdown:
needs: [detect-changes]
if: ${{ github.event_name != 'pull_request' || fromJSON(needs.detect-changes.outputs.results).markdown_any_changed == 'true' }}
uses: ppat/github-workflows/.github/workflows/lint-markdown.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/lint-markdown.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref || github.ref }}
files: ${{ github.event_name != 'pull_request' && 'ALL' || fromJSON(needs.detect-changes.outputs.results).markdown_all_changed_files }}

docker-files:
needs: [detect-changes]
if: ${{ github.event_name != 'pull_request' || fromJSON(needs.detect-changes.outputs.results).docker_any_changed == 'true' }}
uses: ppat/github-workflows/.github/workflows/lint-hadolint.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/lint-hadolint.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref || github.ref }}
files: ${{ github.event_name != 'pull_request' && 'ALL' || fromJSON(needs.detect-changes.outputs.results).docker_all_changed_files }}
hadolint_config: .hadolint.yaml

pre-commit:
uses: ppat/github-workflows/.github/workflows/lint-pre-commit.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/lint-pre-commit.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref || github.ref }}

renovate-config-check:
needs: [detect-changes]
if: ${{ github.event_name != 'pull_request' || fromJSON(needs.detect-changes.outputs.results).renovate_any_changed == 'true' }}
uses: ppat/github-workflows/.github/workflows/lint-renovate-config-check.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/lint-renovate-config-check.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref || github.ref }}
files: ${{ github.event_name != 'pull_request' && 'ALL' || fromJSON(needs.detect-changes.outputs.results).renovate_all_changed_files }}

shellcheck:
needs: [detect-changes]
if: ${{ github.event_name != 'pull_request' || fromJSON(needs.detect-changes.outputs.results).shellscripts_any_changed == 'true' }}
uses: ppat/github-workflows/.github/workflows/lint-shellcheck.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/lint-shellcheck.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref || github.ref }}
files: ${{ github.event_name != 'pull_request' && 'ALL' || fromJSON(needs.detect-changes.outputs.results).shellscripts_all_changed_files }}

terraform:
needs: [terraform-dirs]
if: ${{ github.event_name != 'pull_request' || needs.terraform-dirs.outputs.terraform_dirs != '[]' }}
uses: ppat/github-workflows/.github/workflows/lint-terraform.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/lint-terraform.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref || github.ref }}
tf_dirs: ${{ needs.terraform-dirs.outputs.terraform_dirs }}

yaml:
needs: [detect-changes]
if: ${{ github.event_name != 'pull_request' || fromJSON(needs.detect-changes.outputs.results).yaml_any_changed == 'true' }}
uses: ppat/github-workflows/.github/workflows/lint-yaml.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/lint-yaml.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref || github.ref }}
files: ${{ github.event_name != 'pull_request' && 'ALL' || fromJSON(needs.detect-changes.outputs.results).yaml_all_changed_files }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:

jobs:
create-release:
uses: ppat/github-workflows/.github/workflows/release-semantic.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/release-semantic.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
dry_run: ${{ (github.event_name == 'pull_request') || (github.event_name == 'workflow_dispatch' && github.event.inputs.test_publish == 'true') }}
release_branch: ${{ github.head_ref || github.ref_name }}
Expand All @@ -39,7 +39,7 @@ jobs:

publish-image:
needs: [create-release]
uses: ppat/github-workflows/.github/workflows/build-docker-image.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/build-docker-image.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
image_context_path: images/homelab-workspace
label_title: "Homelab Workspace"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
renovate:
uses: ppat/github-workflows/.github/workflows/renovate.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/renovate.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
dry_run: ${{ github.event_name == 'pull_request' }}
git_ref: ${{ github.head_ref || github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-aqua-checksum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:

jobs:
update-aqua-checksums:
uses: ppat/github-workflows/.github/workflows/update-aqua-checksums.yaml@47e6b17c76bb237afb4d3469115e329b627602b7 # v3.0.0
uses: ppat/github-workflows/.github/workflows/update-aqua-checksums.yaml@b62897fd95e2274bfb096f275a7e5588d61bb1c3 # v3.0.1
with:
git_ref: ${{ github.head_ref || github.ref_name }}
aqua_dirs: |
Expand Down