File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : brew pr-pull
2
2
permissions :
3
- contents : write
4
3
actions : write
4
+ contents : write
5
+ pull-requests : write
5
6
on :
6
7
pull_request_target :
7
8
types :
27
28
PULL_REQUEST : ${{ github.event.pull_request.number }}
28
29
run : brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
29
30
31
+ # Debug: Show commit log (last 5 commits)
32
+ - name : Show commit log (last 5 commits)
33
+ run : git log -n 5 --oneline
34
+
35
+ # Debug: Show contents of .git/HEAD
36
+ - name : Show .git/HEAD
37
+ run : cat .git/HEAD
38
+
39
+ # Debug: Show contents of .git/logs/HEAD
40
+ - name : Show .git logs
41
+ run : cat .git/logs/HEAD
42
+
43
+ # Debug: Upload workpace state
44
+ - name : Upload workspace state
45
+ uses : actions/upload-artifact@v2
46
+ with :
47
+ name : workspace-state-after
48
+ path : .
49
+
30
50
- name : Push commits
31
51
uses : Homebrew/actions/git-try-push@master
32
52
with :
You can’t perform that action at this time.
0 commit comments