From 7a71da45dfdb0611e5777403ca033513e76058f4 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Thu, 30 Oct 2025 12:49:59 +0530 Subject: [PATCH 1/2] chore: update bump duty release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abb98a9..2b4876e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: run: | # Sleep to let index refresh sleep 60 - go get github.com/flanksource/duty@v${{ needs.semantic-release.outputs.release-version }} + go get github.com/flanksource/commons@v${{ needs.semantic-release.outputs.release-version }} go mod tidy if [ -d "hack/generate-schemas" ]; then cd hack/generate-schemas && go mod tidy From 29b4991c4eb9c7843f263855c126956ccf9adf8e Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Thu, 30 Oct 2025 12:50:56 +0530 Subject: [PATCH 2/2] chore: update score card --- .github/workflows/scorecard.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 814a84f..d1fac51 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -12,9 +12,7 @@ on: schedule: - cron: "0 0 * * *" push: - branches: - - master - - main + branches: ["main"] # Declare default permissions as read only permissions: read-all @@ -34,12 +32,12 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 with: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 + uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1 with: results_file: results.sarif results_format: sarif @@ -61,7 +59,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 with: name: SARIF file path: results.sarif @@ -69,6 +67,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 + uses: github/codeql-action/upload-sarif@0b21cf2492b6b02c465a3e5d7c473717ad7721ba # v3.23.1 with: sarif_file: results.sarif