diff --git a/README.md b/README.md index 827c8a6..93bc3dd 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ With `auto-match: true` it searches for the first URL wrapped in `()` brackets. For example, you can let it pick the first `[]()` format URL from Markdown: ``` yaml -- uses: suisei-cn/actions-download-file@8fa0a90d8906e99d4af21363cc075538006b1be5 # 1.5.1 +- uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0 id: downloadfile # Remember to give an ID if you need the output name: Download the file with: @@ -23,7 +23,7 @@ For example, you can let it pick the first `[]()` format URL from Markdown: Finding the first `[]()` format URL from a comment event is also working, which is the primary aim of this action: ``` yaml -- uses: suisei-cn/actions-download-file@8fa0a90d8906e99d4af21363cc075538006b1be5 # 1.5.1 +- uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0 id: downloadfile # Remember to give an ID if you need the output name: Download the file with: @@ -37,7 +37,7 @@ Finding the first `[]()` format URL from a comment event is also working, which With `auto-match: false` (which is the default behavior), you can directly give it an URL: ``` yaml -- uses: suisei-cn/actions-download-file@8fa0a90d8906e99d4af21363cc075538006b1be5 # 1.5.1 +- uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0 id: downloadfile # Remember to give an ID if you need the output filename name: Download the file with: @@ -81,7 +81,7 @@ This action WILL fail if it cannot finish its job, including but not limited to * ## Pinning the action by commit hash -As git tags can be overwritten, we advise action users to pin to the exact action version by using the commit hash (e.g. `8fa0a90d8906e99d4af21363cc075538006b1be5`) instead of tag name (`v1.5.1`). +As git tags can be overwritten, we advise action users to pin to the exact action version by using the commit hash (e.g. `818d6b7dc8fe73f2f924b6241f2b1134ca1377d9`) instead of tag name (`v1.6.0`). Read more on GitHub docs: [Security hardening for GitHub Actions](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions)