From c35b02fe96b8f044ac7b9085635047082eb43ee1 Mon Sep 17 00:00:00 2001 From: aloftus23 Date: Tue, 5 Mar 2024 14:20:19 -0500 Subject: [PATCH] In github workflows, change "master" to "develop" --- .github/workflows/backend.yml | 6 +++--- .github/workflows/codeql.yml | 4 ++-- .github/workflows/docs.yml | 4 ++-- .github/workflows/frontend.yml | 6 +++--- .github/workflows/infrastructure.yml | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 1681994d..ae7be5a6 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -3,14 +3,14 @@ name: Backend Pipeline on: push: branches: - - master + - develop - production paths: - 'backend/**' - '.github/workflows/backend.yml' pull_request: branches: - - master + - develop - production paths: - 'backend/**' @@ -146,7 +146,7 @@ jobs: runs-on: ubuntu-latest environment: staging concurrency: 1 - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/develop' steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 93488c83..009d1244 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,9 +2,9 @@ name: "CodeQL" on: push: - branches: [ "master", "production" ] + branches: [ "develop", "production" ] pull_request: - branches: [ "master" ] + branches: [ "develop" ] schedule: - cron: "23 17 * * 6" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b2617a3e..858f2d8b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,14 +2,14 @@ name: Docs on: push: branches: - - master + - develop paths: - 'docs/**' - 'backend/**' - '.github/workflows/docs.yml' pull_request: branches: - - master + - develop paths: - 'docs/**' - 'backend/**' diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 83960f3e..4b740bdf 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -3,14 +3,14 @@ name: Frontend Pipeline on: push: branches: - - master + - develop - production paths: - 'frontend/**' - '.github/workflows/frontend.yml' pull_request: branches: - - master + - develop - production paths: - 'frontend/**' @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest environment: staging concurrency: 1 - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/develop' steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/.github/workflows/infrastructure.yml b/.github/workflows/infrastructure.yml index a7e0d760..f156a464 100644 --- a/.github/workflows/infrastructure.yml +++ b/.github/workflows/infrastructure.yml @@ -3,14 +3,14 @@ name: Infrastructure Pipeline on: push: branches: - - master + - develop - production paths: - 'infrastructure/**' - '.github/workflows/infrastructure.yml' pull_request: branches: - - master + - develop - production paths: - 'infrastructure/**' @@ -65,7 +65,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - name: Terraform apply - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/develop' run: terraform apply stage.plan env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}