Skip to content

Commit 59c4941

Browse files
committed
ci(ssfscorecard): adjust scorecard settings
This PR trims the open ssf scorecard settings so that it A) runs twice a week only B) is runnable from GUI anytime A) As it is more of general health tool, there is no need to run it every commit to main. B) Leaves the option of being able to run it anytime Signed-off-by: Josef Andersson <josef.andersson@digg.se>
1 parent 287267d commit 59c4941

File tree

2 files changed

+26
-22
lines changed

2 files changed

+26
-22
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
---
6+
name: OpenSSF Scorecard Analysis
7+
on:
8+
schedule:
9+
# Saturdays at 02:20 UTC
10+
- cron: "20 2 * * 6"
11+
# Wednesdays at 02:20 UTC
12+
- cron: "20 2 * * 3"
13+
workflow_dispatch:
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
scorecard-analysis:
20+
permissions:
21+
contents: read
22+
security-events: write
23+
id-token: write
24+
uses: diggsweden/reusable-ci/.github/workflows/security-openssf-scorecard.yml@v2
25+
with:
26+
publish-results: true

.github/workflows/openssfscorecard.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)