Skip to content

Commit 55efc92

Browse files
committed
Fix YAML linting errors
1 parent c4d3598 commit 55efc92

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

.github/workflows/docs-ci.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
name: 'Docs CI'
1+
---
2+
name: "Docs CI"
23

34
on:
45
workflow_call:
56

67
jobs:
78
build:
8-
runs-on: ubuntu-latest
9+
runs-on: "ubuntu-latest"
910
steps:
1011

11-
- name: Instructions to run locally
12-
shell: bash
12+
- name: "Instructions to run locally"
13+
shell: "bash"
1314
run: |
1415
cat <<EOL
1516
To run this locally, make sure:
@@ -25,23 +26,23 @@ jobs:
2526
EOL
2627
2728
# The caller repository and context is used
28-
- name: Checkout CI repository
29-
if: ${{ github.event.repository.name != 'pulp-docs' }}
30-
uses: actions/checkout@v4
29+
- name: "Checkout CI repository"
30+
if: "${{ github.event.repository.name != 'pulp-docs' }}"
31+
uses: "actions/checkout@v4"
3132
with:
32-
path: ${{ github.event.repository.name }}
33+
path: "${{ github.event.repository.name }}"
3334

34-
- name: Checkout pulp-docs repository
35-
uses: actions/checkout@v4
35+
- name: "Checkout pulp-docs repository"
36+
uses: "actions/checkout@v4"
3637
with:
3738
repository: "pulp/pulp-docs"
38-
path: pulp-docs
39+
path: "pulp-docs"
3940
# ref: "rewrite-as-mkdocs-plugin"
4041
# TODO: revert. using this because pulpcore-selinux is not included in rewrite-as-mkdocs-plugin
4142
ref: "experiment-reusable-ci-workflow"
4243
fetch-depth: 0
4344

44-
- uses: actions/setup-python@v5
45+
- uses: "actions/setup-python@v5"
4546
with:
4647
python-version: "3.12"
4748

@@ -59,7 +60,8 @@ jobs:
5960
6061
- name: "Sanity Check"
6162
working-directory: "pulp-docs"
62-
shell: bash
63+
shell: "bash"
6364
run: |
6465
echo "Checking that the namespace for the component under CI exists in the built docs."
6566
ls "site/${{ github.event.repository.name }}/docs"
67+
...

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "pulp-docs CI"
23

34
on:
@@ -27,3 +28,4 @@ jobs:
2728
echo '${{toJson(needs)}}' | jq -r 'to_entries[]|select(.value.result!="success")|.key + ": " + .value.result'
2829
echo '${{toJson(needs)}}' | jq -e 'to_entries|map(select(.value.result!="success"))|length == 0'
2930
echo "CI says: Looks good!"
31+
...

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "Tests"
23

34
on:
@@ -20,3 +21,4 @@ jobs:
2021
- name: "Run test suite"
2122
run: |
2223
pytest -sv
24+
...

.github/workflows/update-data.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "Update Data Branch"
23

34
on:
@@ -9,12 +10,12 @@ jobs:
910
update-data:
1011
runs-on: "ubuntu-latest"
1112
permissions:
12-
contents: write
13+
contents: "write"
1314
steps:
1415
- name: "Checkout docs-data branch"
1516
uses: "actions/checkout@v4"
1617
with:
17-
ref: docs-data
18+
ref: "docs-data"
1819

1920
- name: "Set up Python"
2021
uses: "actions/setup-python@v5"
@@ -40,3 +41,4 @@ jobs:
4041
git config user.name github-actions
4142
git config user.email [email protected]
4243
./update-data.sh
44+
...

0 commit comments

Comments
 (0)