Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Mar 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'