Skip to content

Commit

Permalink
small cleanup on the workflow jobs and remove the master branch refer…
Browse files Browse the repository at this point in the history
…ence

Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato committed Mar 30, 2022
1 parent 4956483 commit 6cf0a86
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ on:
branches: [ main ]
schedule:
- cron: '36 19 * * 3'

permissions:
contents: read

Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ name: build

permissions:
contents: read

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
unit-test:
name: unit-test
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/scorecard-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ jobs:
days-before-pr-stale: '10'
days-before-pr-close: '20'
days-before-issue-stale: '60'

0 comments on commit 6cf0a86

Please sign in to comment.