From 7310ab80eacde31b245a596eace14f8d9483b2af Mon Sep 17 00:00:00 2001 From: Florian Friedrich Date: Sun, 17 Sep 2023 15:34:38 +0200 Subject: [PATCH] Rename primary branch to main --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/deploy.yml | 2 +- .github/workflows/tests.yml | 22 +++++++++++----------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6cf41fb..554ee73 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,11 +2,11 @@ name: CodeQL on: push: - branches: [ master ] + branches: [ main ] paths-ignore: [ 'dist/*.js' ] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] schedule: - cron: '15 11 * * 1' diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3a9d59a..9ae360e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: Deploy Action Code on: push: - branches: [ master ] + branches: [ main ] paths-ignore: [ 'dist/*.js' ] jobs: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a0d4c1d..4770651 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,12 +2,12 @@ name: Tests on: push: - branches: [ master ] + branches: [ main ] paths: - 'dist/*.js' - '.github/workflows/tests.yml' pull_request: - branches: [ master ] + branches: [ main ] jobs: test-release: @@ -25,9 +25,9 @@ jobs: - name: Generate action code if: ${{ github.event_name == 'pull_request' }} uses: ./.github/actions/generate-action-code - - uses: sersoft-gmbh/swifty-linux-action@master + - uses: sersoft-gmbh/swifty-linux-action@main if: ${{ github.event_name == 'push' }} - id: install-swift-master + id: install-swift-main with: release-version: ${{ matrix.swift-version }} platform: ${{ matrix.os-version }} @@ -42,7 +42,7 @@ jobs: - id: install-swift env: EVENT_NAME: ${{ github.event_name }} - BRANCH_INSTALL_PATH: ${{ steps.install-swift-master.outputs.install-path }} + BRANCH_INSTALL_PATH: ${{ steps.install-swift-main.outputs.install-path }} LOCAL_INSTALL_PATH: ${{ steps.install-swift-local.outputs.install-path }} run: | if [ "${EVENT_NAME}" == 'push' ]; then @@ -74,9 +74,9 @@ jobs: - name: Generate action code if: ${{ github.event_name == 'pull_request' }} uses: ./.github/actions/generate-action-code - - uses: sersoft-gmbh/swifty-linux-action@master + - uses: sersoft-gmbh/swifty-linux-action@main if: ${{ github.event_name == 'push' }} - id: install-swift-master + id: install-swift-main with: branch-name: swift-${{ matrix.swift-version }}-release version-tag: swift-${{ matrix.swift-version }}-RELEASE @@ -91,7 +91,7 @@ jobs: - id: install-swift env: EVENT_NAME: ${{ github.event_name }} - BRANCH_INSTALL_PATH: ${{ steps.install-swift-master.outputs.install-path }} + BRANCH_INSTALL_PATH: ${{ steps.install-swift-main.outputs.install-path }} LOCAL_INSTALL_PATH: ${{ steps.install-swift-local.outputs.install-path }} run: | if [ "${EVENT_NAME}" == 'push' ]; then @@ -121,9 +121,9 @@ jobs: - name: Generate action code if: ${{ github.event_name == 'pull_request' }} uses: ./.github/actions/generate-action-code - - uses: sersoft-gmbh/swifty-linux-action@master + - uses: sersoft-gmbh/swifty-linux-action@main if: ${{ github.event_name == 'push' }} - id: install-swift-master + id: install-swift-main with: release-version: ${{ env.INPUT_SWIFT_VERSION }} github-token: ${{ secrets.GITHUB_TOKEN }} @@ -136,7 +136,7 @@ jobs: - id: install-swift env: EVENT_NAME: ${{ github.event_name }} - BRANCH_INSTALL_PATH: ${{ steps.install-swift-master.outputs.install-path }} + BRANCH_INSTALL_PATH: ${{ steps.install-swift-main.outputs.install-path }} LOCAL_INSTALL_PATH: ${{ steps.install-swift-local.outputs.install-path }} run: | if [ "${EVENT_NAME}" == 'push' ]; then