Skip to content

Commit

Permalink
Merge pull request #514 from MicrosoftDocs/ci-automation
Browse files Browse the repository at this point in the history
Update automerge.yml
  • Loading branch information
localden authored Oct 14, 2024
2 parents 8b651d0 + 05df528 commit f53d281
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Daily PR Workflow
name: Sync CI changes

on:
schedule:
Expand All @@ -13,13 +13,19 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Checkout smoke-test branch
run: |
git fetch origin smoke-test
git checkout smoke-test
- name: Create PR from smoke-test to main
id: create_pr_smoke_test
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git checkout smoke-test
git checkout -b pr-smoke-test-to-main
git push origin pr-smoke-test-to-main
pr_number=$(gh pr create --base main --head pr-smoke-test-to-main --title "Daily PR from smoke-test to main" --body "Automated PR from smoke-test to main" --json number -q .number)
Expand Down

0 comments on commit f53d281

Please sign in to comment.