From 43dd8313ec3ddd6c9b1fd283f369167833e5d5c0 Mon Sep 17 00:00:00 2001 From: Federico Lorenzi Date: Wed, 5 Oct 2022 23:08:13 +0200 Subject: [PATCH] Fix workflows for master -> main rename --- .github/workflows/build.yml | 2 +- .github/workflows/main.yml | 2 +- .github/workflows/test-insecure.yml | 2 +- .github/workflows/test-secure.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0bd278d..00ddd50a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Safety Action Build And Publish on: push: - branches: [master] + branches: [main] env: DOCKER_BUILDKIT: 1 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4b324189..d8fec52b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: needs: test runs-on: ${{ matrix.os }} - if: contains(fromJson('["refs/heads/master", "refs/heads/develop", "refs/heads/binaries-fixes"]'), github.ref) || startsWith(github.ref, 'refs/tags') + if: contains(fromJson('["refs/heads/main", "refs/heads/develop", "refs/heads/binaries-fixes"]'), github.ref) || startsWith(github.ref, 'refs/tags') strategy: matrix: diff --git a/.github/workflows/test-insecure.yml b/.github/workflows/test-insecure.yml index 8178539e..ee0e8432 100644 --- a/.github/workflows/test-insecure.yml +++ b/.github/workflows/test-insecure.yml @@ -4,7 +4,7 @@ name: Safety Action Insecure Tests on: push: - branches: [master, develop] + branches: [main, develop] jobs: ##### Auto mode tests diff --git a/.github/workflows/test-secure.yml b/.github/workflows/test-secure.yml index 0bd29484..48678622 100644 --- a/.github/workflows/test-secure.yml +++ b/.github/workflows/test-secure.yml @@ -5,7 +5,7 @@ name: Safety Action Secure Tests on: push: - branches: [master, develop] + branches: [main, develop] jobs: ##### Auto mode tests