We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b5eb82 commit 4a1d078Copy full SHA for 4a1d078
.github/workflows/check_misc.yml
@@ -32,15 +32,14 @@ jobs:
32
- name: Auto-correct code styles
33
run: |
34
set -x
35
- ruby tool/auto-style.rb "$GITHUB_OLD_SHA" "$GITHUB_NEW_SHA" "$PUSH_REF"
+ ruby tool/auto-style.rb "$GITHUB_OLD_SHA" "$GITHUB_NEW_SHA" refs/heads/master
36
env:
37
GITHUB_OLD_SHA: ${{ github.event.before }}
38
GITHUB_NEW_SHA: ${{ github.event.after }}
39
GIT_AUTHOR_NAME: git
40
GIT_COMMITTER_NAME: git
41
EMAIL: [email protected]
42
- PUSH_REF: ${{ github.ref }}
43
- if: ${{ github.repository == 'ruby/ruby' && github.event_name == 'push' }}
+ if: ${{ github.repository == 'ruby/ruby' && github.ref == 'refs/heads/master' && github.event_name == 'push' }}
44
- name: Check for code styles
45
46
0 commit comments