diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a4dccf0ca6b..d3554663834 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,7 +32,7 @@ on: branches: [ main ] schedule: - cron: '36 19 * * 3' - + permissions: contents: read diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d74eed027f5..2acade7d57c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -16,15 +16,19 @@ permissions: contents: read name: docker-build -on: + +on: push: - branches: main - paths-ignore: - - "*.md" + branches: + - main + paths-ignore: + - "*.md" pull_request: - branches: main - paths-ignore: - - "*.md" + branches: + - main + paths-ignore: + - "*.md" + jobs: scorecard: name: scorecard-docker diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ec1c130ef0..7ebfe6b78b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ name: build permissions: contents: read - + on: push: branches: @@ -24,6 +24,7 @@ on: pull_request: branches: - main + jobs: unit-test: name: unit-test diff --git a/.github/workflows/scorecard-analysis.yml b/.github/workflows/scorecard-analysis.yml index 3e340d1167c..0564c83e4bd 100644 --- a/.github/workflows/scorecard-analysis.yml +++ b/.github/workflows/scorecard-analysis.yml @@ -2,7 +2,8 @@ name: Scorecard analysis workflow on: push: # Only the default branch is supported. - branches: [main, master] + branches: + - main schedule: # Weekly on Saturdays. - cron: '30 1 * * 6' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 5b69d344490..93ca9abf429 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -43,4 +43,3 @@ jobs: days-before-pr-stale: '10' days-before-pr-close: '20' days-before-issue-stale: '60' -