New git default branch is 'main'

This commit is contained in:
Emmanuel Engelhart 2022-12-27 14:27:03 +01:00
parent 8b1fe21e4e
commit f5c9b2404a
No known key found for this signature in database
GPG Key ID: 120B30D020B553D3
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ name: CI
on: on:
push: push:
branches: branches:
- master - main
pull_request: pull_request:
jobs: jobs:

View File

@ -73,8 +73,8 @@ jobs:
- uses: legoktm/gh-action-dput@master - uses: legoktm/gh-action-dput@master
name: Upload dev package name: Upload dev package
# Only upload on pushes to master # Only upload on pushes to git default branch
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' && startswith(matrix.distro, 'ubuntu-') if: github.event_name == 'push' && github.event.ref == 'refs/heads/main' && startswith(matrix.distro, 'ubuntu-')
with: with:
gpg_key: ${{ secrets.LAUNCHPAD_GPG }} gpg_key: ${{ secrets.LAUNCHPAD_GPG }}
repository: ppa:kiwixteam/dev repository: ppa:kiwixteam/dev