Skip to content

Commit 0b73752

Browse files
committed
update GitHub document URLs with fixred
1 parent 425023a commit 0b73752

4 files changed

Lines changed: 29 additions & 29 deletions

File tree

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ library. It means that patch version bump may introduce some breaking changes.
4747
[api-badge]: https://pkg.go.dev/badge/github.com/rhysd/actionlint.svg
4848
[apidoc]: https://pkg.go.dev/github.com/rhysd/actionlint
4949
[go-yaml]: https://github.com/go-yaml/yaml
50-
[filter-pattern-doc]: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
50+
[filter-pattern-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet

docs/checks.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -905,11 +905,11 @@ jobs:
905905
Output:
906906

907907
```
908-
test.yaml:10:24: "github.event.pull_request.title" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions for more details [expression]
908+
test.yaml:10:24: "github.event.pull_request.title" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions for more details [expression]
909909
|
910910
10 | run: echo '${{ github.event.pull_request.title }}'
911911
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
912-
test.yaml:19:36: "github.event.head_commit.author.name" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions for more details [expression]
912+
test.yaml:19:36: "github.event.head_commit.author.name" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions for more details [expression]
913913
|
914914
19 | script: console.log('${{ github.event.head_commit.author.name }}')
915915
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1113,7 +1113,7 @@ test.yaml:7:12: invalid activity type "created" for "issues" Webhook event. avai
11131113
|
11141114
7 | types: created
11151115
| ^~~~~~~
1116-
test.yaml:9:3: unknown Webhook event "pullreq". see https://docs.github.com/en/actions/reference/events-that-trigger-workflows#webhook-events for list of all Webhook event names [events]
1116+
test.yaml:9:3: unknown Webhook event "pullreq". see https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#webhook-events for list of all Webhook event names [events]
11171117
|
11181118
8 | pullreq:
11191119
| ^~~~~~~~
@@ -1161,15 +1161,15 @@ jobs:
11611161
Output:
11621162

11631163
```
1164-
test.yaml:6:10: character '^' is invalid for branch and tag names. ref name cannot contain spaces, ~, ^, :, [, ?, *. see `man git-check-ref-format` for more details. note that regular expression is unavailable. note: filter pattern syntax is explained at https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob]
1164+
test.yaml:6:10: character '^' is invalid for branch and tag names. ref name cannot contain spaces, ~, ^, :, [, ?, *. see `man git-check-ref-format` for more details. note that regular expression is unavailable. note: filter pattern syntax is explained at https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob]
11651165
|
11661166
6 | - '^foo-'
11671167
| ^~~~~~
1168-
test.yaml:9:12: invalid glob pattern. unexpected character '+' while checking special character + (one or more). the preceding character must not be special character. note: filter pattern syntax is explained at https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob]
1168+
test.yaml:9:12: invalid glob pattern. unexpected character '+' while checking special character + (one or more). the preceding character must not be special character. note: filter pattern syntax is explained at https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob]
11691169
|
11701170
9 | - 'v*+'
11711171
| ^~
1172-
test.yaml:11:14: invalid glob pattern. unexpected character '1' while checking character range in []. start of range '9' (57) is larger than end of range '1' (49). note: filter pattern syntax is explained at https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob]
1172+
test.yaml:11:14: invalid glob pattern. unexpected character '1' while checking character range in []. start of range '9' (57) is larger than end of range '1' (49). note: filter pattern syntax is explained at https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob]
11731173
|
11741174
11 | - 'v[9-1]'
11751175
| ^~~
@@ -1738,33 +1738,33 @@ actionlint checks permission scopes and access levels in a workflow are correct.
17381738

17391739
[yamllint]: https://github.com/adrienverge/yamllint
17401740
[issue-form]: https://github.com/rhysd/actionlint/issues/new
1741-
[syntax-doc]: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
1742-
[filter-pattern-doc]: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
1741+
[syntax-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
1742+
[filter-pattern-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
17431743
[shellcheck]: https://github.com/koalaman/shellcheck
17441744
[shellcheck-install]: https://github.com/koalaman/shellcheck#installing
17451745
[sc1091]: https://github.com/koalaman/shellcheck/wiki/SC1091
17461746
[sc2050]: https://github.com/koalaman/shellcheck/wiki/SC2050
17471747
[sc2194]: https://github.com/koalaman/shellcheck/wiki/SC2194
17481748
[pyflakes]: https://github.com/PyCQA/pyflakes
1749-
[expr-doc]: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions
1750-
[contexts-doc]: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
1751-
[funcs-doc]: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#functions
1752-
[needs-doc]: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idneeds
1753-
[needs-context-doc]: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#needs-context
1754-
[shell-doc]: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell
1755-
[matrix-doc]: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix
1756-
[webhook-doc]: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#webhook-events
1757-
[schedule-event-doc]: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events
1749+
[expr-doc]: https://docs.github.com/en/actions/learn-github-actions/contexts
1750+
[contexts-doc]: https://docs.github.com/en/actions/learn-github-actions/contexts#contexts
1751+
[funcs-doc]: https://docs.github.com/en/actions/learn-github-actions/contexts#functions
1752+
[needs-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idneeds
1753+
[needs-context-doc]: https://docs.github.com/en/actions/learn-github-actions/contexts#needs-context
1754+
[shell-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#using-a-specific-shell
1755+
[matrix-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix
1756+
[webhook-doc]: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#webhook-events
1757+
[schedule-event-doc]: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#scheduled-events
17581758
[cron-syntax]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
17591759
[gh-hosted-runner]: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
17601760
[self-hosted-runner]: https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners
1761-
[action-uses-doc]: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsuses
1762-
[credentials-doc]: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontainercredentials
1761+
[action-uses-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsuses
1762+
[credentials-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idcontainercredentials
17631763
[actions-cache]: https://github.com/actions/cache
1764-
[permissions-doc]: https://docs.github.com/en/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token
1765-
[perm-config-doc]: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
1764+
[permissions-doc]: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
1765+
[perm-config-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#permissions
17661766
[generate-webhook-events]: https://github.com/rhysd/actionlint/tree/main/scripts/generate-webhook-events
17671767
[generate-popular-actions]: https://github.com/rhysd/actionlint/tree/main/scripts/generate-popular-actions
17681768
[issue-25]: https://github.com/rhysd/actionlint/issues/25
17691769
[issue-40]: https://github.com/rhysd/actionlint/issues/40
1770-
[security-doc]: https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions
1770+
[security-doc]: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions

docs/reference.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ This document describes links to resources.
66
- Repository: https://github.com/rhysd/actionlint
77
- Playground: https://rhysd.github.io/actionlint/
88
- GitHub Actions official documentations
9-
- Workflow syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
10-
- Expression syntax: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions
11-
- Built-in functions: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#functions
12-
- Webhook events: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#webhook-events
9+
- Workflow syntax: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
10+
- Expression syntax: https://docs.github.com/en/actions/learn-github-actions/contexts
11+
- Built-in functions: https://docs.github.com/en/actions/learn-github-actions/contexts#functions
12+
- Webhook events: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#webhook-events
1313
- Self-hosted runner: https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners
14-
- Security: https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions
14+
- Security: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions
1515
- CRON syntax: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
1616
- shellcheck: https://github.com/koalaman/shellcheck
1717
- pyflakes: https://github.com/PyCQA/pyflakes

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ repos:
346346
[reviewdog]: https://github.com/reviewdog/reviewdog
347347
[cmd-manual]: https://rhysd.github.io/actionlint/usage.html
348348
[go-template]: https://pkg.go.dev/text/template
349-
[ga-annotate-error]: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
349+
[ga-annotate-error]: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions#setting-an-error-message
350350
[jsonl]: https://jsonlines.org/
351351
[problem-matchers]: https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md
352352
[super-linter]: https://github.com/github/super-linter

0 commit comments

Comments
 (0)