Skip to content

Commit 187c04d

Browse files
authored
Update pr-jest-tests.yml
1 parent 6501654 commit 187c04d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/pr-jest-tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@ jobs:
1818
steps:
1919
- name: Checkout Repository
2020
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0 # Ensures full history is fetched
23+
24+
- name: Configure Git User
25+
run: |
26+
git config --global user.email "[email protected]"
27+
git config --global user.name "GitHub Actions"
28+
29+
- name: Merge PR with Master (Simulated)
30+
run: |
31+
git fetch origin master
32+
git checkout -b test-merged-pr
33+
git merge origin/master --no-edit
2134
2235
- name: Setup Node.js
2336
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)