small cleanup on the workflow jobs and remove the master branch reference (#1800)

Signed-off-by: cpanato <ctadeu@gmail.com>

Co-authored-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
This commit is contained in:
Carlos Tadeu Panato Junior 2022-03-30 18:11:30 +02:00 committed by GitHub
parent 389078c5d8
commit 92027ed41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 11 deletions

View File

@ -32,7 +32,7 @@ on:
branches: [ main ]
schedule:
- cron: '36 19 * * 3'
permissions:
contents: read

View File

@ -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

View File

@ -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

View File

@ -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'

View File

@ -43,4 +43,3 @@ jobs:
days-before-pr-stale: '10'
days-before-pr-close: '20'
days-before-issue-stale: '60'