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
2 changes: 1 addition & 1 deletion .github/workflows/nix-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
persist-credentials: true # We need read access in case we need to fetch in `Compute requisites before change` step
persist-credentials: true # We need read access in case we need to fetch in `Compute requisites before change` step
sparse-checkout: |
shell.nix
tools/nix/
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1715,15 +1715,17 @@ endif
# python -m pip install yamllint
# Try with '--system' if it fails without; the system may have set '--user'
lint-yaml-build: ## Build resources needed to lint YAML files.
ifeq ($(YAMLLINT), tools/pip/site-packages/bin/yamllint)
$(info Pip installing yamllint on $(shell $(PYTHON) --version)...)
$(PYTHON) -m pip install --upgrade -t tools/pip/site-packages yamllint || \
$(PYTHON) -m pip install --upgrade --system -t tools/pip/site-packages yamllint
endif

.PHONY: lint-yaml
ifneq ("","$(wildcard $(YAMLLINT))")
lint-yaml: ## Lint the YAML files with yamllint.
$(info Running YAML linter...)
PYTHONPATH=tools/pip $(YAMLLINT) .
PYTHONPATH=tools/pip $(YAMLLINT) --strict .
else
lint-yaml:
$(warning YAML linting with yamllint is not available)
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/test426/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # for npm trusted publishing
id-token: write # for npm trusted publishing
concurrency:
group: npm-publish
cancel-in-progress: false
Expand Down
Loading