File tree 10 files changed +23
-23
lines changed
10 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 18
18
automate-project-columns :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : alex-page/github-project-automation-plus@v0.9.0
21
+ - uses : alex-page/github-project-automation-plus@303f24a24c67ce7adf565a07e96720faf126fe36 # v0.9.0
22
22
with :
23
23
project : Vale at Red Hat
24
24
column : To do
Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ jobs:
22
22
runs-on : ubuntu-latest
23
23
steps :
24
24
- name : Checkout code
25
- uses : actions/checkout@v4
25
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26
26
with :
27
27
ref : ${{ github.event.pull_request.head.sha }}
28
28
fetch-depth : 0 # enable git diff and building many branches
29
29
- name : Install Node.js
30
- uses : actions/setup-node@v4
30
+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
31
31
with :
32
32
node-version : ' 18'
33
33
- name : Install Antora
37
37
run : echo "yearweek=$(/bin/date -u "+%Y%U")" >> $GITHUB_OUTPUT
38
38
shell : bash
39
39
- name : Restore cache
40
- uses : actions/cache@v4
40
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.0.3
41
41
env :
42
42
cache-name : cache
43
43
with :
@@ -58,15 +58,15 @@ jobs:
58
58
echo "${{ github.event.number }}" > PR_NUMBER
59
59
echo "${{ github.event.pull_request.head.sha }}" > PR_SHA
60
60
- name : Upload preview-build artifact
61
- uses : actions/upload-artifact@v4
61
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
62
62
with :
63
63
name : preview-build
64
64
path : |
65
65
build
66
66
PR_NUMBER
67
67
PR_SHA
68
68
retention-days : 7
69
- - uses : actions/cache@v4
69
+ - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.0.3
70
70
with :
71
71
path : tmp/.htmltest
72
72
key : ${{ runner.os }}-htmltest
Original file line number Diff line number Diff line change 20
20
if : github.event.workflow_run.event == 'pull_request'
21
21
steps :
22
22
- name : Download preview-build artifact
23
- uses : dawidd6/action-download-artifact@v9
23
+ uses : dawidd6/action-download-artifact@07ab29fd4a977ae4d2b275087cf67563dfdf0295 # v9
24
24
with :
25
25
workflow : ${{ github.event.workflow_run.workflow_id }}
26
26
name : preview-build
40
40
run : |
41
41
npx surge --project ${{ steps.vars.outputs.project }} --domain ${{ steps.vars.outputs.deploy_domain }} --token ${{ secrets.SURGE_TOKEN }}
42
42
- name : Update status Comment
43
- uses : actions-cool/maintain-one-comment@v3.2.0
43
+ uses : actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3.2.0
44
44
with :
45
45
token : ${{ secrets.GITHUB_TOKEN }}
46
46
body : |
50
50
number : ${{ steps.vars.outputs.pr_number }}
51
51
- name : Job failure
52
52
if : ${{ failure() }}
53
- uses : actions-cool/maintain-one-comment@v3.2.0
53
+ uses : actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3.2.0
54
54
with :
55
55
token : ${{ secrets.GITHUB_TOKEN }}
56
56
body : |
Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : create
17
- uses : actions-cool/maintain-one-comment@v3.2.0
17
+ uses : actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3.2.0
18
18
with :
19
19
token : ${{ secrets.GITHUB_TOKEN }}
20
20
body : |
Original file line number Diff line number Diff line change @@ -17,21 +17,21 @@ jobs:
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- name : Checkout repository
20
- uses : actions/checkout@v4
20
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
21
- name : Install Node.js
22
- uses : actions/setup-node@v4
22
+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
23
23
with :
24
24
node-version : ' 18'
25
25
- name : Install Antora
26
26
run : npm i antora @antora/lunr-extension
27
27
- name : Generate Site
28
28
run : npx antora antora-playbook.yml
29
29
- name : Upload artifacts
30
- uses : actions/upload-pages-artifact@v3
30
+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
31
31
with :
32
32
path : build/vale-at-red-hat
33
33
- name : Commit artifact to publication branch
34
- uses : peaceiris/actions-gh-pages@v4
34
+ uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
35
35
with :
36
36
force_orphan : true # publish branch with only the latest commit
37
37
github_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- name : Checkout
21
- uses : actions/checkout@v4
21
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
22
23
23
- name : Create release
24
24
run : |
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
15
15
name : Linting with Vale
16
16
runs-on : ubuntu-22.04
17
17
steps :
18
- - uses : actions/checkout@v4
18
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19
19
- name : Install Asciidoctor
20
20
run : sudo apt-get install -y asciidoctor
21
- - uses : errata-ai/vale-action@reviewdog
21
+ - uses : errata-ai/vale-action@d89dee975228ae261d22c15adcd03578634d429c # v2.1.1
22
22
with :
23
23
filter_mode : diff_context
24
24
vale_flags : " --no-exit --minAlertLevel=error --glob=*.adoc"
Original file line number Diff line number Diff line change 14
14
15
15
steps :
16
16
- name : Checkout code
17
- uses : actions/checkout@v4
17
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
18
with :
19
19
ref : ${{ github.event.pull_request.head.sha }}
20
20
fetch-depth : 0
Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Checkout code
14
- uses : actions/checkout@v4
14
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
15
with :
16
16
ref : ${{ github.event.pull_request.head.sha }}
17
17
fetch-depth : 0 # enable git diff and building many branches
Original file line number Diff line number Diff line change @@ -41,15 +41,15 @@ on: [pull_request]
41
41
jobs:
42
42
vale:
43
43
name: Linting with Vale
44
- runs-on: ubuntu-latest
44
+ runs-on: ubuntu-22.04
45
45
steps:
46
- - uses: actions/checkout@v3
46
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
47
47
- name: Install Asciidoctor
48
48
run: sudo apt-get install -y asciidoctor
49
- - uses: errata-ai/vale-action@reviewdog
49
+ - uses: errata-ai/vale-action@d89dee975228ae261d22c15adcd03578634d429c # v2.1.1
50
50
with:
51
51
filter_mode: diff_context
52
- vale_flags: "--no-exit --minAlertLevel=error"
52
+ vale_flags: "--no-exit --minAlertLevel=error --glob=*.adoc "
53
53
reporter: github-pr-review
54
54
fail_on_error: true
55
55
env:
You can’t perform that action at this time.
0 commit comments