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