File tree 6 files changed +17
-17
lines changed
6 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 3
3
- package-ecosystem : " github-actions"
4
4
directory : " /"
5
5
schedule :
6
- interval : " monthly "
6
+ interval : " weekly "
7
7
8
8
- package-ecosystem : " devcontainers"
9
9
directory : " /"
Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ jobs:
12
12
id-token : write # grant additional permission to attestation action to mint the OIDC token permission
13
13
14
14
steps :
15
- - uses : actions/checkout@v4
15
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16
16
with :
17
17
fetch-depth : 0
18
18
19
- - uses : actions/setup-python@v5
19
+ - uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
20
20
with :
21
21
python-version : ' 3.12'
22
22
cache : ' pip'
23
23
24
- - uses : actions/setup-node@v4
24
+ - uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
25
25
with :
26
26
node-version : ' lts/*'
27
27
cache : ' npm'
41
41
42
42
- name : Upload test logging
43
43
if : github.repository == 'tldr-pages/tldr' && github.event.pull_request.number != ''
44
- uses : actions/upload-artifact@v4
44
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
45
45
with :
46
46
name : debug.log
47
47
path : debug.log
@@ -106,7 +106,7 @@ jobs:
106
106
- name : Attest generated files
107
107
if : github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main'
108
108
id : attest
109
- uses : actions/attest-build-provenance@v2
109
+ uses : actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
110
110
continue-on-error : true # prevent failing when no pages are modified
111
111
with :
112
112
subject-path : ${{ env.subject_path }}
Original file line number Diff line number Diff line change @@ -13,19 +13,19 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
16
- - uses : actions/checkout@v4
16
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
17
18
18
- name : Get changed files
19
19
id : changed-files
20
- uses : tj-actions/changed-files@v45 .0.7
20
+ uses : tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 .0.3
21
21
with :
22
22
# Ignore all other languages except English
23
23
files_ignore : |
24
24
pages.*/*/*
25
25
contributing-guides/style-guide.*.md
26
26
package-lock.json
27
27
28
- - uses : codespell-project/actions-codespell@v2
28
+ - uses : codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1
29
29
with :
30
30
ignore_words_file : .github/codespell-ignore
31
31
# Exit with 0 regardless of typos.
Original file line number Diff line number Diff line change 17
17
id-token : write # grant additional permission to attestation action to mint the OIDC token permission
18
18
19
19
steps :
20
- - uses : actions/checkout@v4
20
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
21
with :
22
22
fetch-depth : 0
23
23
43
43
- name : Attest copied assets
44
44
if : github.repository == 'tldr-pages/tldr'
45
45
id : attest
46
- uses : actions/attest-build-provenance@v2
46
+ uses : actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
47
47
with :
48
48
subject-path : ${{ env.subject_path }}
49
49
Original file line number Diff line number Diff line change 10
10
labeler :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- -
uses :
tldr-pages/[email protected]
13
+ - uses : tldr-pages/tldr-labeler-action@7cb29444b818130fe056b7e7b3dedcc7db93af45 # v0.6.0
14
14
with :
15
15
token : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change 17
17
key : cache-lychee-${{ github.sha }}
18
18
restore-keys : cache-lychee-
19
19
20
- - uses : actions/checkout@v4
20
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
21
with :
22
22
fetch-depth : 0
23
23
27
27
sort -u usernames.txt -o usernames.txt
28
28
29
29
- name : Lychee URL checker
30
- uses : lycheeverse/lychee-action@v2
30
+ uses : lycheeverse/lychee-action@f613c4a64e50d792e0b31ec34bbcbba12263c6a6 # v2.3.0
31
31
id : lychee
32
32
continue-on-error : true
33
33
with :
41
41
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
42
42
43
43
- name : Find the last report issue open
44
- uses : micalevisk/last-issue-action@v2
44
+ uses : micalevisk/last-issue-action@044e1cb7e9a4dde20e22969cb67818bfca0797be # v2.3.0
45
45
id : last-issue
46
46
with :
47
47
state : open
51
51
52
52
- name : Update last report open issue created
53
53
if : ${{ env.lychee_exit_code != 0 }}
54
- uses : peter-evans/create-issue-from-file@v5
54
+ uses : peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5.0.1
55
55
with :
56
56
title : GitHub usernames with errors
57
57
content-filepath : lychee/out.md
63
63
run : gh issue close ${{ steps.last-issue.outputs.issue-number }}
64
64
65
65
- name : Save lychee cache
66
- uses : actions/cache/save@v4
66
+ uses : actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
67
67
if : always()
68
68
with :
69
69
path : .lycheecache
You can’t perform that action at this time.
0 commit comments