File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: sync main with dev
2
2
on :
3
3
schedule :
4
4
- 0 8 * * * # Runs at 8am UTC
5
-
5
+ pull_request :
6
+
6
7
defaults :
7
8
run :
8
9
shell : bash -x -e -u -o pipefail {0}
28
29
DATE=$(date +"%Y-%m-%d")
29
30
echo "date=$DATE" | tee -a "$GITHUB_OUTPUT"
30
31
32
+ - name : Get commit delta
33
+ id : commit-delta
34
+ run : |
35
+ DELTA=$(git cherry -v ko3n1g/dev main | tr '+' '*')
36
+
37
+ echo "COMMIT_DELTA<<EOF" >> $GITHUB_ENV
38
+ echo "$DELTA" >> $GITHUB_ENV
39
+ echo "EOF" >> $GITHUB_ENV
40
+
31
41
- name : Attempt rebase
32
42
run : |
33
43
git config --global user.email "[email protected] "
84
94
85
95
beep boop 🤖: This branch was last rebased onto `main` on ${{ env.DATE }}.
86
96
97
+ ---
98
+
99
+ Updated commits:
100
+ ```
101
+ ${{ steps.commit-delta.outputs.main }}
102
+ ```
103
+
87
104
notify-failure :
88
105
runs-on : ubuntu-latest
89
106
if : failure()
You can’t perform that action at this time.
0 commit comments