Skip to content

Commit 220e9a2

Browse files
authored
Merge pull request #16 from accuknox/latest-tag
add workflow to automatically update latest tag
2 parents 5f69dac + 5d733d2 commit 220e9a2

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/latest-tag.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Update floating latest tag
2+
on:
3+
release:
4+
types: [published]
5+
6+
permissions:
7+
contents: write
8+
9+
jobs:
10+
update-latest:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Update "latest" tag
18+
uses: EndBug/latest-tag@v1.6.2
19+
with:
20+
ref: latest
21+
force-branch: false
22+
description: "Auto-tag latest after ${{ github.event.release.tag_name }}"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: actions/checkout@v4
6262

6363
- name: Run AccuKnox SAST
64-
uses: accuknox/sast-scan-action@v1.0.3
64+
uses: accuknox/sast-scan-action@latest
6565
with:
6666
skip_sonar_scan: false
6767
sonar_project_key: ${{ secrets.SONAR_PROJECT_KEY }}

0 commit comments

Comments
 (0)