Skip to content

Commit 9a63529

Browse files
committed
update action versions in the workflows
1 parent 69030ea commit 9a63529

6 files changed

Lines changed: 15 additions & 15 deletions

.github/workflows/hadolint.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131

3232
steps:
3333
- name: Checkout code
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535

3636
- name: Run hadolint
37+
id: hadolint
3738
uses: hadolint/hadolint-action@f988afea3da57ee48710a9795b6bb677cc901183
3839
with:
3940
dockerfile: ./Dockerfile
@@ -42,24 +43,23 @@ jobs:
4243
no-fail: true
4344

4445
- name: Upload analysis results to GitHub
45-
uses: github/codeql-action/upload-sarif@v2
46+
uses: github/codeql-action/upload-sarif@v4
4647
with:
4748
sarif_file: hadolint-results.sarif
4849
wait-for-processing: true
4950

5051
- name: Update Pull Request
51-
uses: actions/github-script@v6
52+
uses: actions/github-script@v8
5253
if: github.event_name == 'pull_request'
5354
with:
5455
script: |
55-
const output = `
56-
#### Hadolint: \`${{ steps.hadolint.outcome }}\`
57-
\`\`\`
58-
${process.env.HADOLINT_RESULTS}
59-
\`\`\`
60-
`;
56+
const output = [
57+
'#### Hadolint: `${{ steps.hadolint.outcome }}`',
58+
'',
59+
'SARIF results were uploaded to the workflow run.'
60+
].join('\n');
6161
62-
github.rest.issues.createComment({
62+
await github.rest.issues.createComment({
6363
issue_number: context.issue.number,
6464
owner: context.repo.owner,
6565
repo: context.repo.repo,

.github/workflows/publish_docker_images_cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- nightly
2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v6
2828

2929
- name: Clone tools branch
3030
run: git clone -b v0.8.34 --depth=1 https://github.com/citusdata/tools.git tools

.github/workflows/publish_docker_images_on_manual.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727

2828
- name: Clone tools branch
2929
run: git clone -b v0.8.34 --depth=1 https://github.com/citusdata/tools.git tools

.github/workflows/publish_docker_images_on_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- nightly
2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626

2727
- name: Clone tools branch
2828
run: git clone -b v0.8.34 --depth=1 https://github.com/citusdata/tools.git tools

.github/workflows/publish_docker_images_on_tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- nightly
2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626
with:
2727
fetch-depth: 0
2828
ref: master

.github/workflows/update_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v6
2929

3030
- name: Install package dependencies
3131
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev python3-testresources

0 commit comments

Comments
 (0)