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:
id: tag id: tag
run: | run: |
IMAGE_TAG=$(echo "${GITHUB_REF:11}" | sed "s#/#-#g") # slash safe branch name 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 IMAGE_TAG=dev
fi fi
echo "image_tag=$IMAGE_TAG" >> $GITHUB_OUTPUT echo "image_tag=$IMAGE_TAG" >> $GITHUB_OUTPUT

2
.github/workflows/release.yml

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

2
.github/workflows/version-bump.yml

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

Loading…
Cancel
Save