Skip to content

Commit

Permalink
Adding upmerge workflow
Browse files Browse the repository at this point in the history
Signed-off-by: willdavsmith <[email protected]>
  • Loading branch information
willdavsmith committed Apr 15, 2024
1 parent 18aeb2b commit e3ad5a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upmerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:
# echo "Upmerging docs from $SOURCE_BRANCH to edge"
# git fetch origin $SOURCE_BRANCH
# git merge --no-commit origin/$SOURCE_BRANCH
# git reset HEAD docs/config.toml docs/layouts/partials/hooks/body-end.html
# git commit -m "Upmerge to edge"
# git push --set-upstream origin $BRANCH_NAME
# git reset HEAD docs/config.toml docs/layouts/partials/hooks/body-end.html
- name: Upmerge docs
run: |
export SOURCE_BRANCH=${{ inputs.version }}
echo "Upmerging docs from $SOURCE_BRANCH to edge"
git fetch origin $SOURCE_BRANCH
git merge --no-commit origin/$SOURCE_BRANCH
git reset HEAD docs/config.toml docs/layouts/partials/hooks/body-end.html
git commit -m "Upmerge to edge"
git push --set-upstream origin $BRANCH_NAME
git reset HEAD docs/config.toml docs/layouts/partials/hooks/body-end.html
- name: Create pull request
env:
GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT}}
Expand Down

0 comments on commit e3ad5a6

Please sign in to comment.