3535 skip-fix : ${{ steps.skip-fix.outputs.this }}
3636 steps :
3737 - name : Checkout
38- uses : actions/checkout@v4
38+ uses : actions/checkout@v5
3939 - if : github.event_name == 'pull_request_target'
4040 env :
4141 NUMBER : ${{ github.event.pull_request.number }}
8282 TF_VAR_write_delay_ms : 300
8383 steps :
8484 - name : Checkout
85- uses : actions/checkout@v4
85+ uses : actions/checkout@v5
8686 - if : github.event_name == 'pull_request_target'
8787 env :
8888 NUMBER : ${{ github.event.pull_request.number }}
@@ -100,8 +100,17 @@ jobs:
100100 - name : Initialize terraform
101101 run : terraform init
102102 working-directory : terraform
103+ - name : Install pnpm
104+ uses : pnpm/action-setup@v4
105+ with :
106+ version : 10
107+ - name : Use Node.js lts/*
108+ uses : actions/setup-node@v6
109+ with :
110+ node-version : lts/*
111+ cache : ' '
103112 - name : Initialize scripts
104- run : npm ci && npm run build
113+ run : pnpm install --frozen-lockfile && pnpm run build
105114 working-directory : scripts
106115 - name : Fix
107116 id : fix
@@ -117,7 +126,7 @@ jobs:
117126 # NOTE(galargh, 2024-02-15): This will only work if GitHub as Code is used for a single organization
118127 - name : Comment on pull request
119128 if : github.event_name == 'pull_request_target' && steps.fix.outputs.comment
120- uses : marocchino/sticky-pull-request-comment@67d0dec7b07ed060a405f9b2a64b8ab319fdd7db # v2.9.2
129+ uses : marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4
121130 with :
122131 header : fix
123132 number : ${{ github.event.pull_request.number }}
@@ -142,22 +151,24 @@ jobs:
142151 installation_retrieval_payload : ${{ secrets[format('RW_GITHUB_APP_INSTALLATION_ID_{0}', github.repository_owner)] || secrets.RW_GITHUB_APP_INSTALLATION_ID }}
143152 private_key : ${{ secrets.RW_GITHUB_APP_PEM_FILE }}
144153 - name : Checkout
145- uses : actions/checkout@v4
154+ uses : actions/checkout@v5
146155 with :
147156 repository : ${{ github.event.pull_request.head.repo.full_name || github.repository }}
148157 ref : ${{ github.event.pull_request.head.sha || github.sha }}
149158 token : ${{ steps.token.outputs.token }}
150159 path : head
151160 - name : Checkout
152- uses : actions/checkout@v4
161+ uses : actions/checkout@v5
153162 with :
154163 path : base
155164 - name : Download YAML configs
156- uses : actions/download-artifact@v4
165+ uses : actions/download-artifact@v5
157166 with :
158167 path : artifacts
159168 - name : Copy YAML configs
160- run : cp artifacts/**/*.yml head/github
169+ run : |
170+ shopt -s globstar
171+ cp artifacts/**/*.yml head/github
161172 - name : Check if github was modified
162173 id : github-modified
163174 run : |
0 commit comments