Skip to content

Commit 92027ed

Browse files
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>
1 parent 389078c commit 92027ed

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
branches: [ main ]
3333
schedule:
3434
- cron: '36 19 * * 3'
35-
35+
3636
permissions:
3737
contents: read
3838

.github/workflows/docker.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ permissions:
1616
contents: read
1717

1818
name: docker-build
19-
on:
19+
20+
on:
2021
push:
21-
branches: main
22-
paths-ignore:
23-
- "*.md"
22+
branches:
23+
- main
24+
paths-ignore:
25+
- "*.md"
2426
pull_request:
25-
branches: main
26-
paths-ignore:
27-
- "*.md"
27+
branches:
28+
- main
29+
paths-ignore:
30+
- "*.md"
31+
2832
jobs:
2933
scorecard:
3034
name: scorecard-docker

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ name: build
1616

1717
permissions:
1818
contents: read
19-
19+
2020
on:
2121
push:
2222
branches:
2323
- main
2424
pull_request:
2525
branches:
2626
- main
27+
2728
jobs:
2829
unit-test:
2930
name: unit-test

.github/workflows/scorecard-analysis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Scorecard analysis workflow
22
on:
33
push:
44
# Only the default branch is supported.
5-
branches: [main, master]
5+
branches:
6+
- main
67
schedule:
78
# Weekly on Saturdays.
89
- cron: '30 1 * * 6'

.github/workflows/stale.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ jobs:
4343
days-before-pr-stale: '10'
4444
days-before-pr-close: '20'
4545
days-before-issue-stale: '60'
46-

0 commit comments

Comments
 (0)