File tree 1 file changed +6
-6
lines changed 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 54
54
uses : ./.github/actions/deps/external
55
55
with :
56
56
action : cache
57
+ - name : Set up mpy-cross
58
+ uses : ./.github/actions/mpy_cross
59
+ with :
60
+ download : false
57
61
- name : Get last commit with checks
58
62
id : get-last-commit-with-checks
59
63
if : github.event_name == 'pull_request'
@@ -63,14 +67,10 @@ jobs:
63
67
REPO : ${{ github.repository }}
64
68
PULL : ${{ github.event.number }}
65
69
GITHUB_TOKEN : ${{ github.token }}
66
- EXCLUDE_COMMIT : ${{ github.event.after }}
67
- - name : Set up mpy-cross
68
- uses : ./.github/actions/mpy_cross
69
- with :
70
- download : false
70
+ EXCLUDE_COMMIT : ${{ github.event.pull_request.head.sha }}
71
71
- name : Set head sha
72
72
if : github.event_name == 'pull_request'
73
- run : echo "HEAD_SHA=$(git show -s --format=%s $GITHUB_SHA | grep -o -P "(?<=Merge ).*(?= into)") " >> $GITHUB_ENV
73
+ run : echo "HEAD_SHA=${{ github.event.pull_request.head.sha }} " >> $GITHUB_ENV
74
74
- name : Set base sha
75
75
if : github.event_name == 'pull_request'
76
76
run : |
You can’t perform that action at this time.
0 commit comments