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
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2026 Hewlett Packard Enterprise Development LP
---
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 5
7 changes: 4 additions & 3 deletions .github/workflows/bootstrap-checks.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Copyright 2026 Hewlett Packard Enterprise Development LP
---
name: bootstrap-validation

on:
'on':
pull_request:

jobs:
validate-bootstrap:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Install Linux setup prerequisites
run: |
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Validate Windows bootstrap prerequisites
shell: pwsh
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright 2026 Hewlett Packard Enterprise Development LP
---
name: checks

on:
'on':
pull_request:

jobs:
Expand All @@ -10,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

Expand All @@ -22,6 +23,9 @@ jobs:
- name: Block tracked code-checking-ref
run: ./checks/guard-code-checking-ref.sh --target-root .

- name: Block active Jenkins @Library reference
run: ./checks/guard-jenkins-library-pin.sh --target-root .

- name: Run linters on changed files
env:
GITHUB_BASE_REF: ${{ github.base_ref }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/setup-dev-smoke.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright 2026 Hewlett Packard Enterprise Development LP
---
name: setup-dev smoke test

on:
'on':
pull_request:

jobs:
Expand All @@ -17,7 +18,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Run setup-dev
run: ./bin/setup-dev.sh
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright 2026 Hewlett Packard Enterprise Development LP
---
repos:
- repo: local
hooks:
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Copyright 2026 Hewlett Packard Enterprise Development LP
- id: forbid-code-checking-ref
name: forbid tracked code-checking-ref
Expand Down
22 changes: 22 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
extends: default

ignore: |
*.tpl
.cache
*venv/
LEGACY/**
collections/ansible_collections/**

rules:
comments-indentation: disable
comments:
min-spaces-from-content: 1
braces:
max-spaces-inside: 1
line-length:
max: 120
allow-non-breakable-inline-mappings: true
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ This command syncs the `code_checking` ref, writes the recommended GitHub
workflow (`pull_request` trigger only, to avoid duplicate `push` + PR runs),
bootstraps or refreshes pre-commit hooks, and updates the consumer `README.md`
managed section. It also seeds baseline `.gitignore`,
`cspell.config.yaml`, and `vscode-project-words.txt` in the consumer root when
those files are missing. Running `sync-consumer` means you do not need
to run `setup-github-workflow.sh` separately.
`cspell.config.yaml`, `.yamllint`, and `vscode-project-words.txt` in the
consumer root when those files are missing. Running `sync-consumer` means you
do not need to run `setup-github-workflow.sh` separately.

To skip README updates for a specific run:

Expand All @@ -132,6 +132,7 @@ For an initial consumer-repo integration commit after running
- `.pre-commit-config.yaml` (if `setup-dev` was run)
- `README.md`
- `cspell.config.yaml` (if seeded)
- `.yamllint` (if seeded)
- `vscode-project-words.txt` (if seeded)

The `code_checking` submodule was previously added. Changes inside that
Expand All @@ -144,6 +145,7 @@ git add .gitmodules
git add .pre-commit-config.yaml # if setup-dev was run
git add README.md
git add cspell.config.yaml # seeded if missing
git add .yamllint # seeded if missing
git add vscode-project-words.txt # seeded if missing
```

Expand Down
Loading
Loading