From 9ef014e05c162167777901703bbdc8e2be4a2ea3 Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Sun, 22 Jan 2023 13:12:25 +0100 Subject: [PATCH] Fix main rename breaking github scripts --- .github/workflows/android.yml | 4 ++-- .github/workflows/calibreapp-image-actions.yml | 4 ++-- .github/workflows/changelog-to-fastlane.yml | 2 +- .github/workflows/contributors-to-file.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 04bb77083..6bb818bca 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -3,12 +3,12 @@ name: Android CI on: push: branches: - - master + - main - staging - trying pull_request: branches: - - master + - main jobs: build: diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml index f285e7227..fb3e58eb3 100644 --- a/.github/workflows/calibreapp-image-actions.yml +++ b/.github/workflows/calibreapp-image-actions.yml @@ -1,8 +1,8 @@ -name: Compress Images on Push to Master +name: Compress Images on Push to Main on: push: branches: - - master + - main paths: - '**.jpg' - '**.jpeg' diff --git a/.github/workflows/changelog-to-fastlane.yml b/.github/workflows/changelog-to-fastlane.yml index 147bccae3..3772f598c 100644 --- a/.github/workflows/changelog-to-fastlane.yml +++ b/.github/workflows/changelog-to-fastlane.yml @@ -2,7 +2,7 @@ name: Convert CHANGELOG to Fastlane on: push: branches: - - master + - main jobs: convert_changelog_to_fastlane: diff --git a/.github/workflows/contributors-to-file.yml b/.github/workflows/contributors-to-file.yml index 59bb8b08f..bc57d9a5d 100644 --- a/.github/workflows/contributors-to-file.yml +++ b/.github/workflows/contributors-to-file.yml @@ -6,7 +6,7 @@ on: jobs: contributors_to_file: runs-on: ubuntu-latest - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' name: Write contributors to file steps: - name: Checkout repo