Skip to content

Commit c4e839d

Browse files
committed
chore(deps): update action versions in workflow templates
1 parent 5b586f6 commit c4e839d

5 files changed

Lines changed: 13 additions & 9 deletions

File tree

workflow-templates/auto-assign-project-to-issue.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
github-token: ${{ secrets.ADD_PROJECT_TO_ISSUE_PAT }}
1717

1818
- name: Log info
19+
env:
20+
ISSUE_TITLE: ${{ github.event.issue.title }}
1921
run: |
20-
echo "▶ Triggered by issue #${{ github.event.issue.number }}: ${{ github.event.issue.title }}"
22+
echo "▶ Triggered by issue #${{ github.event.issue.number }}: $ISSUE_TITLE"
2123
echo "▶ Added to Project #${{ vars.PROJECT }} (beta)"

workflow-templates/dev-docker-build-selective.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ on:
5050

5151
permissions:
5252
contents: read
53-
packages: write
5453

5554
concurrency:
5655
group: ${{ github.ref_type == 'branch' && format('build-branch-{0}', github.ref_name) || format('build-{0}', github.sha) }}
@@ -67,15 +66,15 @@ jobs:
6766
packages: ${{ steps.config.outputs.config }}
6867
tags: "${{ steps.meta.outputs.result }}"
6968
steps:
70-
- uses: actions/checkout@v5
69+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
7170
with:
7271
persist-credentials: true
7372
fetch-depth: 0
7473

7574
- name: Changed Files
7675
if: github.event_name != 'workflow_dispatch'
7776
id: changed-files
78-
uses: tj-actions/changed-files@v47
77+
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47
7978
with:
8079
json: true
8180
write_output_files: true # .github/outputs/all_changed_files.json

workflow-templates/dev-mvn-docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
java-version: ${{ github.event.inputs.java-version || '21' }}
7575

7676
- name: "Generate metadata"
77-
uses: netcracker/qubership-workflow-hub/actions/metadata-action@m5a557213e92e3d22d0292330c4817c82af6704d2 #v2.1.2
77+
uses: netcracker/qubership-workflow-hub/actions/metadata-action@e64a1ee2fc2f68ab44a4ef416c27d83ce36ba8e1 # v2.2.1
7878
id: metadata
7979

8080
- name: "Prepare tags"

workflow-templates/license-header.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ jobs:
5555

5656
- name: "Fix License Headers"
5757
continue-on-error: true
58-
uses: apache/skywalking-eyes/header@v0.8.0
58+
uses: apache/skywalking-eyes/header@61275cc80d0798a405cb070f7d3a8aaf7cf2c2c1 # v0.8.0
5959
with:
6060
mode: ${{ inputs.mode || 'fix' }} # default to fix
6161

6262
- name: "Create Pull Request"
6363
if: inputs.mode == 'fix' || github.event_name == 'push'
64-
uses: peter-evans/create-pull-request@v8.1.1
64+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
6565
with:
6666
token: ${{ secrets.GITHUB_TOKEN }}
6767
commit-message: "${{ inputs.commit-message || 'chore: add license headers to source files' }}"

workflow-templates/scout-cves.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
required: true
99
type: string
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
scan:
1316
name: "Scan Docker Image for CVEs"
@@ -23,14 +26,14 @@ jobs:
2326
persist-credentials: false
2427

2528
- name: "Login to Docker Hub"
26-
uses: docker/login-action@v4
29+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
2730
with:
2831
username: ${{ secrets.DOCKERHUB_USER }}
2932
password: ${{ secrets.DOCKERHUB_RW_TOKEN }}
3033

3134
- name: "Run Docker Scout CVEs"
3235
id: scout
33-
uses: docker/scout-action@v1
36+
uses: docker/scout-action@bacf462e8d090c09660de30a6ccc718035f961e3 # v1
3437
with:
3538
command: cves
3639
image: ${{ inputs.image }}

0 commit comments

Comments
 (0)