From 8a8080aa20e6070babd16dd1cda66130c20d8cb6 Mon Sep 17 00:00:00 2001 From: Koen Van Looveren Date: Tue, 25 Jul 2023 09:49:40 +0200 Subject: [PATCH] ci(github-actions): Fixed master to main branch rename in ci scripts --- .github/workflows/analyzer.yml | 6 +++--- .github/workflows/formatting.yml | 6 +++--- .github/workflows/sanity.yml | 6 +++--- .github/workflows/tests.yml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/analyzer.yml b/.github/workflows/analyzer.yml index 9ac04ea..2670690 100644 --- a/.github/workflows/analyzer.yml +++ b/.github/workflows/analyzer.yml @@ -2,9 +2,9 @@ name: Analyzer on: push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] + branches: [ "main" ] + pull_request_target: + types: [opened, edited, synchronize] jobs: build: diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index b161d6d..4010e67 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -2,9 +2,9 @@ name: Code Formatting on: push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] + branches: [ "main" ] + pull_request_target: + types: [opened, edited, synchronize] jobs: build: diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index 103fdba..022b9ef 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -2,9 +2,9 @@ name: Sanity on: push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] + branches: [ "main" ] + pull_request_target: + types: [opened, edited, synchronize] jobs: build: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 18ea3b0..7b33cbb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,9 +2,9 @@ name: Flutter Test on: push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] + branches: [ "main" ] + pull_request_target: + types: [opened, edited, synchronize] jobs: build: