Skip to content

Commit 3e29168

Browse files
authored
Harden CI workflows
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent f33a823 commit 3e29168

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/.kodiak.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ strip_html_comments = true # default: false
1515
always = true # default: false
1616

1717
[approve]
18-
auto_approve_usernames = ["1gtm", "tamalsaha"]
18+
auto_approve_usernames = ["tamalsaha", "1gtm", "1gtm-app[bot]"]

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
runs-on: ubuntu-24.04
2020
steps:
2121
- name: Set up Go 1.25
22-
uses: actions/setup-go@v5
22+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
2323
with:
2424
go-version: '1.25'
2525
id: go
2626

27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2828

2929
- name: Run checks
3030
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CODE_GENERATOR_IMAGE ?= ghcr.io/appscode/gengo:release-1.32
2323

2424
# This version-strategy uses git tags to set the version string
2525
git_branch := $(shell git rev-parse --abbrev-ref HEAD)
26-
git_tag := $(shell git describe --exact-match --abbrev=0 2>/dev/null || echo "")
26+
git_tag := $(shell git describe --tags --exact-match --abbrev=0 2>/dev/null || echo "")
2727
commit_hash := $(shell git rev-parse --verify HEAD)
2828
commit_timestamp := $(shell date --date="@$$(git show -s --format=%ct)" --utc +%FT%T)
2929

0 commit comments

Comments
 (0)