diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2023-07-03 22:02:43 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2023-07-04 20:13:49 +0900 |
commit | 7690a31223213d11d72a5b44cd40d4455483798f (patch) | |
tree | b15b08d62a3a112560e9ce4a1334c57fad98cc5d /.github/workflows/check_misc.yml | |
parent | f7732d63f4b975cda5463932384b255e85e17642 (diff) |
chore: add blank lines [ci skip]
A bit readable to me.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8020
Diffstat (limited to '.github/workflows/check_misc.yml')
-rw-r--r-- | .github/workflows/check_misc.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index d5dfad62e1..acd863ce30 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -12,20 +12,27 @@ jobs: checks: permissions: contents: write # for Git to git push + runs-on: ubuntu-latest + steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + - uses: ./.github/actions/setup/directories + - name: Check if C-sources are US-ASCII run: | grep -r -n '[^ -~]' -- *.[chy] include internal win32/*.[ch] && exit 1 || : + - name: Check for trailing spaces run: | git grep -I -n '[ ]$' -- '*.rb' '*.[chy]' '*.rs' && exit 1 || : git grep -n '^[ ][ ]*$' -- '*.md' && exit 1 || : + - name: Check for bash specific substitution in configure.ac run: | git grep -n '\${[A-Za-z_0-9]*/' -- configure.ac && exit 1 || : + - name: Check for header macros run: | fail= @@ -79,6 +86,7 @@ jobs: git diff --color --no-ext-diff --ignore-submodules --exit-code NEWS.md continue-on-error: true if: ${{ steps.gems.outcome == 'success' }} + - name: Commit run: | git pull --ff-only origin ${GITHUB_REF#refs/heads/} |