GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: enable strict mode for yamllint · nodejs/node@9dd04eb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • nix-changes.yml
  • Makefile
  • test/fixtures/test426/.github/workflows
    • ci.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/nix-changes.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/nix-changes.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5151
with:
5252
fetch-depth: 2
53-
persist-credentials: true # We need read access in case we need to fetch in `Compute requisites before change` step
53+
persist-credentials: true # We need read access in case we need to fetch in `Compute requisites before change` step
5454
sparse-checkout: |
5555
shell.nix
5656
tools/nix/
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1739,15 +1739,17 @@ endif
17391739
# python -m pip install yamllint
17401740
# Try with '--system' if it fails without; the system may have set '--user'
17411741
lint-yaml-build: ## Build resources needed to lint YAML files.
1742+
ifeq ($(YAMLLINT), tools/pip/site-packages/bin/yamllint)
17421743
$(info Pip installing yamllint on $(shell $(PYTHON) --version)...)
17431744
$(PYTHON) -m pip install --upgrade -t tools/pip/site-packages yamllint || \
17441745
$(PYTHON) -m pip install --upgrade --system -t tools/pip/site-packages yamllint
1746+
endif
17451747

17461748
.PHONY: lint-yaml
17471749
ifneq ("","$(wildcard $(YAMLLINT))")
17481750
lint-yaml: ## Lint the YAML files with yamllint.
17491751
$(info Running YAML linter...)
1750-
PYTHONPATH=tools/pip $(YAMLLINT) .
1752+
PYTHONPATH=tools/pip $(YAMLLINT) --strict .
17511753
else
17521754
lint-yaml:
17531755
$(warning YAML linting with yamllint is not available)
Collapse file

‎test/fixtures/test426/.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: test/fixtures/test426/.github/workflows/ci.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
permissions:
4747
contents: read
48-
id-token: write # for npm trusted publishing
48+
id-token: write # for npm trusted publishing
4949
concurrency:
5050
group: npm-publish
5151
cancel-in-progress: false

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.