From f5c9b2404a59ea66b076cd88f61467415135c1ab Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Tue, 27 Dec 2022 14:27:03 +0100 Subject: [PATCH] New git default branch is 'main' --- .github/workflows/ci.yml | 2 +- .github/workflows/package.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20410c465..54759b79f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: push: branches: - - master + - main pull_request: jobs: diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 302503c01..f7dd67742 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -73,8 +73,8 @@ jobs: - uses: legoktm/gh-action-dput@master name: Upload dev package - # Only upload on pushes to master - if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' && startswith(matrix.distro, 'ubuntu-') + # Only upload on pushes to git default branch + if: github.event_name == 'push' && github.event.ref == 'refs/heads/main' && startswith(matrix.distro, 'ubuntu-') with: gpg_key: ${{ secrets.LAUNCHPAD_GPG }} repository: ppa:kiwixteam/dev