File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 2323 BUNDLE_WITHOUT : lint
2424 steps :
2525 - name : Checkout code
26+ if : github.event_name == 'push'
2627 uses : actions/checkout@v4
2728
29+ - name : Checkout PR code
30+ if : github.event_name == 'pull_request_target'
31+ uses : actions/checkout@v4
32+ with :
33+ ref : ${{ github.event.pull_request.head.ref }}
34+ repository : ${{ github.event.pull_request.head.repo.full_name }}
35+
2836 - name : Set up Ruby
2937 uses : ruby/setup-ruby@v1
3038 with :
4149 runs-on : ubuntu-24.04
4250 steps :
4351 - name : Checkout code
52+ if : github.event_name == 'push'
4453 uses : actions/checkout@v4
4554
55+ - name : Checkout PR code
56+ if : github.event_name == 'pull_request_target'
57+ uses : actions/checkout@v4
58+ with :
59+ ref : ${{ github.event.pull_request.head.ref }}
60+ repository : ${{ github.event.pull_request.head.repo.full_name }}
61+
4662 - name : Set up Ruby
4763 uses : ruby/setup-ruby@v1
4864 with :
You can’t perform that action at this time.
0 commit comments