-
-
Notifications
You must be signed in to change notification settings - Fork 402
fix(ci): fix link-checker context and prevent deploy on PR #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,7 +46,7 @@ jobs: | |
| - name: Lint markdown | ||
| uses: DavidAnson/markdownlint-cli2-action@v22.0.0 | ||
| with: | ||
| config: '.markdownlint.yaml' | ||
| config: ".markdownlint.yaml" | ||
| globs: | | ||
| docs/**/*.md | ||
| docs/*.md | ||
|
|
@@ -74,7 +74,7 @@ jobs: | |
| - name: Set up Python for PT-BR | ||
| uses: actions/setup-python@v6.1.0 | ||
| with: | ||
| python-version: '3.10' | ||
| python-version: "3.10" | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same comment as for line 49 |
||
| - name: Install pyspelling for PT-BR | ||
| run: | | ||
|
|
@@ -89,6 +89,7 @@ jobs: | |
| deploy: | ||
| name: Deploy web doc | ||
| runs-on: ubuntu-latest | ||
|
|
||
| needs: [md_linter, spell_checker] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ne need for new line |
||
| steps: | ||
| - name: Checkout markdown | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,8 @@ jobs: | |
| steps: | ||
| - name: Checkout markdown | ||
| uses: actions/checkout@v6.0.1 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is implied by the pull request action and so is not needed |
||
|
|
||
| - name: Link Checker | ||
| uses: lycheeverse/lychee-action@v2.7.0 | ||
|
|
@@ -39,7 +41,7 @@ jobs: | |
| - name: Lint markdown | ||
| uses: DavidAnson/markdownlint-cli2-action@v22.0.0 | ||
| with: | ||
| config: '.markdownlint.yaml' | ||
| config: ".markdownlint.yaml" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as above, no need for double quotes as there are no escape sequences, same for line 86 |
||
| globs: | | ||
| docs/**/*.md | ||
| docs/*.md | ||
|
|
@@ -81,7 +83,7 @@ jobs: | |
| - name: Set up Python | ||
| uses: actions/setup-python@v6.1.0 | ||
| with: | ||
| python-version: '3.10' | ||
| python-version: "3.10" | ||
|
|
||
| - name: Install pyspelling | ||
| run: | | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for a change to double quotes here, as no escape sequences are expected, so can be reverted