diff --git a/.github/workflows/create-branch-on-tag.yml b/.github/workflows/create-branch-on-tag.yml index 11aa4bf1..c94b1e77 100644 --- a/.github/workflows/create-branch-on-tag.yml +++ b/.github/workflows/create-branch-on-tag.yml @@ -32,6 +32,7 @@ jobs: MAJOR_ONLY="$(echo $FULL_TAG | cut -d '.' -f 1).x" echo "BRANCH_NAME=$MAJOR_MINOR" >> $GITHUB_OUTPUT echo "MAJOR_BRANCH_NAME=$MAJOR_ONLY" >> $GITHUB_OUTPUT + git remote add tokenized_origin ${{ secrets.TOKENIZED_ORIGIN }} - name: Check if branch exists id: check_branch run: | @@ -48,14 +49,14 @@ jobs: if: steps.check_branch.outputs.exists == 'false' run: | git checkout -b ${{ steps.tag_name.outputs.BRANCH_NAME }} origin/${{ steps.tag_name.outputs.MAJOR_BRANCH_NAME }} - git push origin ${{ steps.tag_name.outputs.BRANCH_NAME }} + git push tokenized_origin ${{ steps.tag_name.outputs.BRANCH_NAME }} - name: Merge changes from current default branch if: steps.check_branch.outputs.exists == 'true' run: | git fetch git checkout -b ${{ steps.tag_name.outputs.BRANCH_NAME }} origin/${{ steps.tag_name.outputs.BRANCH_NAME }} git merge origin/${{ steps.tag_name.outputs.MAJOR_BRANCH_NAME }} - git push origin HEAD:${{ steps.tag_name.outputs.BRANCH_NAME }} + git push tokenized_origin HEAD:${{ steps.tag_name.outputs.BRANCH_NAME }} - name: Pushes to drupal.org repository run: | cd $WORKSPACE diff --git a/.github/workflows/ssh-auth-testing.yml b/.github/workflows/ssh-auth-testing.yml index 51a314d3..90fd578d 100644 --- a/.github/workflows/ssh-auth-testing.yml +++ b/.github/workflows/ssh-auth-testing.yml @@ -29,5 +29,6 @@ jobs: - name: Test SSH Auth id: test_auth run: | - git remote add tokenized_origin ${{ secrets.TOKENIZED_ORIGIN }} git ls-remote tokenized_origin + git checkout -b BUGS-6560-REMOVE-ME + git push -u tokenized_origin BUGS-6560-REMOVE-ME