Skip to content
Open
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
22 changes: 11 additions & 11 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:

jobs:
detect-changes:
uses: ppat/github-workflows/.github/workflows/detect-changed-files.yaml@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/detect-changed-files.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
with:
# yamllint disable-line rule:indentation
files_yaml: |
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:

commit-messages:
if: ${{ github.event_name == 'pull_request' }}
uses: ppat/github-workflows/.github/workflows/lint-commit-messages.yaml@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-commit-messages.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
with:
git_ref: ${{ github.head_ref }}
fetch_depth: ${{ github.event.pull_request.commits || 0 }}
Expand Down Expand Up @@ -142,68 +142,68 @@ 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@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-github-actions.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
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@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-markdown.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
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@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-hadolint.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
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@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-pre-commit.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
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@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-renovate-config-check.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
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@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-shellcheck.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
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 }}

opentofu:
needs: [opentofu-dirs]
if: ${{ github.event_name != 'pull_request' || needs.opentofu-dirs.outputs.opentofu_dirs != '[]' }}
uses: ppat/github-workflows/.github/workflows/lint-opentofu.yaml@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-opentofu.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
with:
git_ref: ${{ github.head_ref || github.ref }}
tofu_dirs: ${{ needs.opentofu-dirs.outputs.opentofu_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@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-yaml.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
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 }}

zizmor:
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-zizmor.yaml@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/lint-zizmor.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
with:
git_ref: ${{ github.head_ref || github.ref }}
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
permissions:
contents: read
packages: write
uses: ppat/github-workflows/.github/workflows/build-docker-image.yaml@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0 (unmerged PR #615 -- repoint to the v6.0.0 tag before merge)
uses: ppat/github-workflows/.github/workflows/build-docker-image.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0 (unmerged PR #615 -- repoint to the v6.0.0 tag before merge)
with:
image_context_path: images/homelab-workspace
label_title: "Homelab Workspace"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions: {}

jobs:
release:
uses: ppat/github-workflows/.github/workflows/release-please.yaml@b0d4d41a875d2a1a062dc3bebf2907734f6351c6 # v7.0.0
uses: ppat/github-workflows/.github/workflows/release-please.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
with:
dry_run: ${{ github.event_name == 'pull_request' }}
secrets:
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@b0d4d41a875d2a1a062dc3bebf2907734f6351c6 # v7.0.0
uses: ppat/github-workflows/.github/workflows/renovate.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
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/test-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
permissions:
contents: read
packages: write
uses: ppat/github-workflows/.github/workflows/build-docker-image.yaml@54ce2e4ac00927d6164d032b321f0142aab01c69 # v6.1.0
uses: ppat/github-workflows/.github/workflows/build-docker-image.yaml@c22c55c4a2764c23e5de0bd11bbb64e2ae38592b # v8.0.0
with:
image_context_path: images/homelab-workspace
label_title: "Homelab Workspace"
Expand Down
Loading