Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sync-test-deploy-branch.yaml #25

Merged
merged 2 commits into from
Sep 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 17 additions & 12 deletions .github/workflows/sync-test-deploy-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@ on:
branches:
- main

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: main
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Sync Branch Action
# You may pin to the exact commit or the version.
# uses: lucasruy/sync-branch-action@2208081dfed383bf8e9c13ce862061a3e7a58239
uses: lucasruy/[email protected]
with:
# User token to be associated with this pull request.
# GITHUB_TOKEN:
# Branch where you implemented your new code.
SOURCE_BRANCH: main
# Branch you want to send your new code.
DESTINATION_BRANCH: test-deployment
# Standard title for your update pull request. Default is: "update: {FROM_BRANCH} to {TO_BRANCH}"
PULL_REQUEST_TITLE: # optional
# Content with description for your automated pull. Default is: "This is an automatic PullRequest to keep {BASE_BRANCH} up to date with {FROM_BRANCH}!"
PULL_REQUEST_BODY: # optional
# Pull Request label. Default is: ""
PULL_REQUEST_LABEL: # optional

- name: Push to test-deployment branch
run: |
git push origin HEAD:refs/heads/test-deployment