From cf81658f317543edadc269eb9ac1448a28f4c848 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Sat, 24 Dec 2022 15:59:25 -0800 Subject: [PATCH 1/2] Enable scorecards workflow --- .github/workflows/scorecards.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index a33112143..cbd339871 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -1,12 +1,12 @@ name: Scorecards supply-chain security on: workflow_dispatch - ## Only the default branch is supported. - #branch_protection_rule: - #schedule: - # - cron: '33 18 * * 5' - #push: - # branches: [ "master" ] + # Only the default branch is supported. + branch_protection_rule: + schedule: + - cron: '33 18 * * 5' + push: + branches: [ "master" ] # Declare default permissions as read only. permissions: read-all From a46eb609e394edccf74d3f01c2396d419f6580f0 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Sat, 24 Dec 2022 16:00:29 -0800 Subject: [PATCH 2/2] Remove manual dispatch option --- .github/workflows/scorecards.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index cbd339871..5f5dbb7bd 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -1,6 +1,5 @@ name: Scorecards supply-chain security on: - workflow_dispatch # Only the default branch is supported. branch_protection_rule: schedule: