Run GitHub Actions on pushes and PRs to main, not master (#1883)

* Run GitHub Actions on pushes and PRs to main, not master

* fix go install ecr-login, bump to latest v0.6.0

* master -> main in some integration tests

* skip no-ref integration test
This commit is contained in:
Jason Hall
2022-01-14 14:54:12 -05:00
committed by GitHub
parent 1a6b8ce37b
commit d587122a9d
8 changed files with 15 additions and 14 deletions
+2 -2
View File
@@ -2,9 +2,9 @@ name: Build images
on:
pull_request:
branches: ['master']
branches: ['main']
push:
branches: ['master']
branches: ['main']
tags: ['v[0-9]+.[0-9]+.[0-9]+*']
jobs:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Integration tests
on:
push:
branches: ['master']
branches: ['main']
pull_request:
branches: ['master']
branches: ['main']
jobs:
tests:
+1 -1
View File
@@ -6,7 +6,7 @@ on:
# Weekly on Saturdays.
- cron: '30 1 * * 6'
push:
branches: [ main, master ]
branches: ['main']
# Declare default permissions as read only.
permissions: read-all
+2 -2
View File
@@ -2,9 +2,9 @@ name: Unit tests
on:
push:
branches: ['master']
branches: ['main']
pull_request:
branches: ['master']
branches: ['main']
jobs:
tests: