Skip to content

Commit 763a3ab

Browse files
committed
2 parents 1f4432f + 3c0ab4d commit 763a3ab

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,13 @@ jobs:
4848
echo "has_commits=true" >> $GITHUB_OUTPUT
4949
fi
5050
51-
# Use a fixed branch name for the PR
52-
- name: Update dev-to-master branch
51+
# Set up git for potential operations
52+
- name: Setup git
5353
if: steps.check-commits.outputs.has_commits == 'true'
5454
run: |
55-
# Setup git
5655
git config user.name "GitHub Actions Bot"
5756
git config user.email "[email protected]"
5857
59-
# Use a fixed branch name for consistency
60-
BRANCH_NAME="automated-dev-to-master-branch"
61-
62-
# Force-push current dev state to the fixed branch
63-
git checkout -b $BRANCH_NAME
64-
git push --force origin $BRANCH_NAME
65-
6658
# Create or update PR using GitHub API with retry logic
6759
- name: Create or Update Pull Request
6860
if: steps.check-commits.outputs.has_commits == 'true'
@@ -71,7 +63,7 @@ jobs:
7163
github-token: ${{ secrets.GITHUB_TOKEN }}
7264
script: |
7365
const { repo, owner } = context.repo;
74-
const prBranch = "automated-dev-to-master-branch";
66+
const prBranch = "dev";
7567
const prTitle = "chore: release automated changes from dev to master";
7668
const prBody = process.env.PR_BODY;
7769

0 commit comments

Comments
 (0)