Skip to content

Commit 1e4ca59

Browse files
committed
checkout via ref name
1 parent 09c490e commit 1e4ca59

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,11 @@ jobs:
8787
runs-on: ubuntu-22.04
8888
steps:
8989
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
90-
with:
91-
fetch-depth: '0'
9290

9391
- uses: ./.github/workflows/vulncheck.yml
9492
with:
9593
go-version-input: '1.24.10'
96-
targetBranch: 'main'
94+
targetBranch: ${{ github.ref_name }}
9795

9896
unit-test:
9997
name: Unit Tests

.github/workflows/vulncheck.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: vulncheck.yaml
22
on:
3-
schedule:
4-
- cron: "0 0 * * *" # daily at midnight UTC
53
workflow_call:
64
inputs:
75
go-version-input:

0 commit comments

Comments
 (0)