Skip to content

Commit 201ad96

Browse files
committed
update outdated URLs for security guide in documents
1 parent 1ed57fd commit 201ad96

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

docs/checks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2941,13 +2941,13 @@ Note that `steps` in Composite action's metadata is not checked at this point. I
29412941
[dependabot-doc]: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
29422942
[credentials-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idcontainercredentials
29432943
[actions-cache]: https://github.com/actions/cache
2944-
[permissions-doc]: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
2944+
[permissions-doc]: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
29452945
[perm-config-doc]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#permissions
29462946
[generate-webhook-events]: https://github.com/rhysd/actionlint/tree/main/scripts/generate-webhook-events
29472947
[generate-popular-actions]: https://github.com/rhysd/actionlint/tree/main/scripts/generate-popular-actions
29482948
[issue-25]: https://github.com/rhysd/actionlint/issues/25
29492949
[issue-40]: https://github.com/rhysd/actionlint/issues/40
2950-
[security-doc]: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions
2950+
[security-doc]: https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions
29512951
[reusable-workflow-doc]: https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
29522952
[create-reusable-workflow-doc]: https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#creating-a-reusable-workflow
29532953
[reusable-workflow-call-keys]: https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#supported-keywords-for-jobs-that-call-a-reusable-workflow

docs/reference.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
References
22
==========
33

4-
This document describes links to resources.
4+
This document describes links to resources related to actionlint and GitHub Actions.
55

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/learn-github-actions/workflow-syntax-for-github-actions
10-
- Expression syntax: https://docs.github.com/en/actions/learn-github-actions/expressions
11-
- Built-in functions: https://docs.github.com/en/actions/learn-github-actions/expressions#functions
12-
- Webhook events: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#webhook-events
13-
- 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/security-guides/security-hardening-for-github-actions
9+
- Workflow syntax: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions
10+
- Expression syntax: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions
11+
- Built-in functions: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#functions
12+
- Webhook events: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#webhook-events
13+
- Self-hosted runner: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners
14+
- Security: https://docs.github.com/en/actions/security-for-github-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

playground/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h2><i id="res-icon" class="devicon-githubactions-plain"></i>Resources</h2>
6363
<li><a class="has-text-link-my-light" target="_blank" rel="noopener" href="https://github.com/rhysd/actionlint/blob/v1.7.4/docs/checks.md">Checks by actionlint</a></li>
6464
<li><a class="has-text-link-my-light" target="_blank" rel="noopener" href="https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions">Workflow syntax for GitHub Actions</a></li>
6565
<li><a class="has-text-link-my-light" target="_blank" rel="noopener" href="https://docs.github.com/en/actions/learn-github-actions/contexts">Available contexts in workflow</a></li>
66-
<li><a class="has-text-link-my-light" target="_blank" rel="noopener" href="https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions">Security hardening for GitHub Actions</a></li>
66+
<li><a class="has-text-link-my-light" target="_blank" rel="noopener" href="https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions">Security hardening for GitHub Actions</a></li>
6767
</ul>
6868
</p>
6969
</div>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
./testdata/err/one_error.yaml:6:41: "github.event.head_commit.message" 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]
1+
./testdata/err/one_error.yaml:6:41: "github.event.head_commit.message" 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-for-github-actions/security-guides/security-hardening-for-github-actions for more details [expression]
22
 |
33
6 |  - run: echo "Checking commit '${{ github.event.head_commit.message }}'"
44
 |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
./testdata/err/one_error.yaml:6:41: "github.event.head_commit.message" 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]
1+
./testdata/err/one_error.yaml:6:41: "github.event.head_commit.message" 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-for-github-actions/security-guides/security-hardening-for-github-actions for more details [expression]
22
|
33
6 | - run: echo "Checking commit '${{ github.event.head_commit.message }}'"
44
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"message":"\"github.event.head_commit.message\" 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","filepath":"./testdata/err/one_error.yaml","line":6,"column":41,"kind":"expression","snippet":" - run: echo \"Checking commit '${{ github.event.head_commit.message }}'\"\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~","end_column":72}]
1+
[{"message":"\"github.event.head_commit.message\" 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-for-github-actions/security-guides/security-hardening-for-github-actions for more details","filepath":"./testdata/err/one_error.yaml","line":6,"column":41,"kind":"expression","snippet":" - run: echo \"Checking commit '${{ github.event.head_commit.message }}'\"\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~","end_column":72}]

0 commit comments

Comments
 (0)