Skip to content

Commit

Permalink
Update common github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Knative Automation <automation@knative.team>
  • Loading branch information
knative-automation committed Dec 9, 2020
1 parent a33895c commit 9a3f0cf
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/knative-boilerplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Boilerplate

on:
pull_request:
branches: [ 'master', 'release-*' ]
branches: [ 'main', 'master', 'release-*' ]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knative-donotsubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Do Not Submit

on:
pull_request:
branches: [ 'master', 'release-*' ]
branches: [ 'main', 'master', 'release-*' ]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knative-go-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Build

on:
pull_request:
branches: [ 'master', 'release-*' ]
branches: [ 'main', 'master', 'release-*' ]

jobs:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/knative-go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ name: Test
on:

push:
branches: [ 'master' ]
branches: [ 'main', 'master' ]

pull_request:
branches: [ 'master', 'release-*' ]
branches: [ 'main', 'master', 'release-*' ]

jobs:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/knative-security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ name: 'Security'

on:
push:
branches: [ 'master', 'release-*' ]
branches: [ 'main', 'master', 'release-*' ]

pull_request:
branches: [ 'master', 'release-*' ]
branches: [ 'main', 'master', 'release-*' ]

jobs:
analyze:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knative-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Code Style

on:
pull_request:
branches: [ 'master', 'release-*' ]
branches: [ 'main', 'master', 'release-*' ]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knative-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Verify

on:
pull_request:
branches: [ 'master', 'release-*' ]
branches: [ 'main', 'master', 'release-*' ]

jobs:

Expand Down

0 comments on commit 9a3f0cf

Please sign in to comment.