mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-21 06:37:36 -04:00
enable merging git branch into develop
This commit is contained in:
18
.github/workflows/release-publish.yml
vendored
18
.github/workflows/release-publish.yml
vendored
@@ -256,15 +256,15 @@ jobs:
|
||||
# with:
|
||||
# username: ${{ (github.event_name == 'workflow_dispatch' && github.actor) || 'insomnia-infra' }}
|
||||
|
||||
# - name: Merge git branch into develop
|
||||
# run: |
|
||||
# remote_repo="https://${GITHUB_ACTOR}:${RELEASE_GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
|
||||
# git checkout develop
|
||||
# git merge --no-ff ${{ env.RELEASE_BRANCH }}
|
||||
# git status
|
||||
# git push "${remote_repo}"
|
||||
# env:
|
||||
# RELEASE_GH_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }}
|
||||
- name: Merge git branch into develop
|
||||
run: |
|
||||
remote_repo="https://${GITHUB_ACTOR}:${RELEASE_GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
|
||||
git checkout develop
|
||||
git merge --no-ff ${{ env.RELEASE_BRANCH }}
|
||||
git status
|
||||
git push "${remote_repo}"
|
||||
env:
|
||||
RELEASE_GH_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }}
|
||||
|
||||
artifact-provenance:
|
||||
needs: [publish]
|
||||
|
||||
Reference in New Issue
Block a user