File tree Expand file tree Collapse file tree 2 files changed +23
-6
lines changed Expand file tree Collapse file tree 2 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 27
27
ISSUE_URL : ${{ needs.find_exercise.outputs.issue-url }}
28
28
29
29
steps :
30
- - name : Checkout
30
+ - name : Checkout repository
31
31
uses : actions/checkout@v4
32
+ with :
33
+ fetch-depth : 0
34
+
35
+ - name : Prepare a merge conflict
36
+ run : |
37
+ echo "Create my-resume branch"
38
+ git checkout -b my-resume
39
+ git config user.name github-actions[bot]
40
+ git config user.email github-actions[bot]@users.noreply.github.com
41
+ sed -i 's/1/2/' .github/steps/-step.txt
42
+ git add .github/steps/-step.txt
43
+ git commit -m "Update step in my-resume"
44
+ git push origin my-resume
32
45
46
+ echo "Create conflicting commit on main"
47
+ git checkout main
48
+ sed -i 's/Experience/Jobs/' resume.md
49
+ git add resume.md
50
+ git commit -m "Update resume.md in main"
51
+ git push origin main
52
+ env :
53
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
54
+
33
55
- name : Get response templates
34
56
uses : actions/checkout@v4
35
57
with :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments