Skip to content

Commit c22f01f

Browse files
committed
ugh, issue is the ref being in the wrong place
1 parent fc0f72b commit c22f01f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rubocop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Rubocop
33

4-
on: [ push, pull_request ]
4+
on: [ push ]
55

66
jobs:
77
build:
@@ -11,8 +11,8 @@ jobs:
1111
TESTOPTS: "-v"
1212
steps:
1313
- uses: actions/checkout@v2
14-
ref: ${{ github.event.pull_request.head.sha || github.sha }}
1514
with:
15+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
1616
submodules: recursive
1717
- name: Set up Ruby 3.0
1818
uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)