From b7fb34387be2c887f6a0a930f326eaab1b03132c Mon Sep 17 00:00:00 2001 From: Stephen Fuqua Date: Tue, 16 Apr 2024 20:10:38 -0500 Subject: [PATCH] Treat `v*` branches like `main` (#233) --- .github/workflows/on-pullrequest-security.yml | 4 +++- .github/workflows/scorecard.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-pullrequest-security.yml b/.github/workflows/on-pullrequest-security.yml index 0d03e23..632be65 100644 --- a/.github/workflows/on-pullrequest-security.yml +++ b/.github/workflows/on-pullrequest-security.yml @@ -7,7 +7,9 @@ name: On Pull Request - Security on: pull_request: - branches: [ main ] + branches: + - main + - v* workflow_dispatch: permissions: diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 4af58b9..a0ed0e1 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -7,7 +7,9 @@ on: schedule: - cron: '15 23 * * 0' push: - branches: [ "main" ] + branches: + - main + - v* workflow_dispatch: # Declare default permissions as read only.