Browse Source

Point workflows to main (#101)

pull/104/head
Joseph Flinn 2 years ago committed by GitHub
parent
commit
b1bdd7f526
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/build.yml
  2. 2
      .github/workflows/release.yml
  3. 2
      .github/workflows/version-bump.yml

2
.github/workflows/build.yml

@ -86,7 +86,7 @@ jobs: @@ -86,7 +86,7 @@ jobs:
id: tag
run: |
IMAGE_TAG=$(echo "${GITHUB_REF:11}" | sed "s#/#-#g") # slash safe branch name
if [[ "$IMAGE_TAG" == "master" ]]; then
if [[ "$IMAGE_TAG" == "main" ]]; then
IMAGE_TAG=dev
fi
echo "image_tag=$IMAGE_TAG" >> $GITHUB_OUTPUT

2
.github/workflows/release.yml

@ -151,7 +151,7 @@ jobs: @@ -151,7 +151,7 @@ jobs:
steps:
- name: Check if any job failed
if: |
github.ref == 'refs/heads/master'
github.ref == 'refs/heads/main'
|| github.ref == 'refs/heads/rc'
|| github.ref == 'refs/heads/hotfix'
env:

2
.github/workflows/version-bump.yml

@ -121,7 +121,7 @@ jobs: @@ -121,7 +121,7 @@ jobs:
TITLE: "Bump version to ${{ inputs.version_number }}"
run: |
PR_URL=$(gh pr create --title "$TITLE" \
--base "master" \
--base "main" \
--head "$PR_BRANCH" \
--label "version update" \
--label "automated pr" \

Loading…
Cancel
Save