diff --git a/.github/workflows/acceptance-test.yaml b/.github/workflows/acceptance-test.yaml index 03643b396d17..148310b92376 100644 --- a/.github/workflows/acceptance-test.yaml +++ b/.github/workflows/acceptance-test.yaml @@ -1,9 +1,9 @@ name: 'Acceptance' on: push: - # ... only act on pushes to master + # ... only act on pushes to main branches: - - master + - main # ... do not act on release tags tags-ignore: - v* diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5d48b0147efb..3d6b66cf561f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,7 +1,7 @@ name: 'Release' on: push: - # take no actions on push... + # take no actions on push to any branch... branches-ignore: - '**' # ... only act on release tags @@ -16,12 +16,12 @@ jobs: - uses: actions/checkout@v2 - # we don't want to release commits that have been pushed and tagged, but not necessarily merged onto master - - name: Ensure tagged commit is on master + # we don't want to release commits that have been pushed and tagged, but not necessarily merged onto main + - name: Ensure tagged commit is on main run: | echo "Tag: ${GITHUB_REF##*/}" - git fetch origin master - git merge-base --is-ancestor ${GITHUB_REF##*/} origin/master && echo "${GITHUB_REF##*/} is a commit on master!" + git fetch origin main + git merge-base --is-ancestor ${GITHUB_REF##*/} origin/main && echo "${GITHUB_REF##*/} is a commit on main!" - name: Check static anaylysis, unit, and integration test results uses: fountainhead/action-wait-for-check@v1.0.0