diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f90f796..dc8c6e77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,4 +54,4 @@ on: - synchronize push: branches: - - main + - $default-branch diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index feb94f8e..acdeba94 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -25,4 +25,4 @@ on: - edited push: branches: - - main + - $default-branch diff --git a/.github/workflows/devcontainer.yml b/.github/workflows/devcontainer.yml index e1fea79c..96758cfa 100644 --- a/.github/workflows/devcontainer.yml +++ b/.github/workflows/devcontainer.yml @@ -40,7 +40,7 @@ jobs: on: push: branches: - - main + - $default-branch paths: - .devcontainer/Dockerfile - .devcontainer/Dockerfile.dockerignore diff --git a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml.jinja b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml.jinja index ed5f4d90..bd9358c4 100644 --- a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml.jinja +++ b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml.jinja @@ -67,4 +67,4 @@ on: - synchronize push: branches: - - main + - $default-branch diff --git a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/commitlint.yml b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/commitlint.yml index feb94f8e..acdeba94 100644 --- a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/commitlint.yml +++ b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/commitlint.yml @@ -25,4 +25,4 @@ on: - edited push: branches: - - main + - $default-branch diff --git a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/devcontainer.yml.jinja b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/devcontainer.yml.jinja index 79818440..f41949fd 100644 --- a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/devcontainer.yml.jinja +++ b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/devcontainer.yml.jinja @@ -51,7 +51,7 @@ jobs: on: push: branches: - - main + - $default-branch paths: - .devcontainer/Dockerfile - .devcontainer/Dockerfile.dockerignore