From 75ab4b3ee76783d693be7ed8c27b12b3a1d93cc2 Mon Sep 17 00:00:00 2001 From: Adrienn Tindall <33725376+adrienntindall@users.noreply.github.com> Date: Wed, 30 Oct 2024 23:48:25 -0400 Subject: [PATCH] Update webhook.sh, build.yml --- .github/calcrom/webhook.sh | 4 ++-- .github/workflows/build.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/calcrom/webhook.sh b/.github/calcrom/webhook.sh index ba8e941a1c..ff3f88830a 100644 --- a/.github/calcrom/webhook.sh +++ b/.github/calcrom/webhook.sh @@ -1,7 +1,7 @@ #!/bin/bash -ex -# Only run this script if it's the master branch build. -if [[ "$GITHUB_REF" != "refs/heads/master" || "$GITHUB_EVENT_NAME" != "push" ]]; then +# Only run this script if it's the main branch build. +if [[ "$GITHUB_REF" != "refs/heads/main" || "$GITHUB_EVENT_NAME" != "push" ]]; then exit 0 fi diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5cde394844..0ff7696a94 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: build on: push: - branches: [ master ] + branches: [ main ] pull_request: workflow_dispatch: