From 8a29209e26a6ec582172f9208d3dc77ab87ae151 Mon Sep 17 00:00:00 2001 From: Youngjoon Lee Date: Fri, 16 Dec 2022 13:02:07 +0900 Subject: [PATCH] ci: make actions work for main branch --- .github/workflows/ci.yml | 4 ++-- .github/workflows/docker-publish.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b1e0876..f0cdd42c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,8 @@ name: ci on: push: - branches: # only for pushes on master - - master + branches: # only for pushes on main + - main pull_request: # for all PRs regardless of its base branch jobs: diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 15908ac9..f56255af 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -7,7 +7,7 @@ name: Docker on: push: - branches: [ master ] + branches: [ main ] # Publish semver tags as releases. tags: [ 'v*.*.*' ]