Skip to content

Merge pull request #1203 from WebSnke/patch-36 #904

Merge pull request #1203 from WebSnke/patch-36

Merge pull request #1203 from WebSnke/patch-36 #904

name: Ensure entries are alphabetized
on:
push:
paths:
- "Gemfile"
- "script/alphabetize"
- ".github/workflows/ensure-alphabetize.yml"
- "_data/**"
pull_request:
paths:
- "Gemfile"
- "script/alphabetize"
- ".github/workflows/ensure-alphabetize.yml"
- "_data/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Ensure Orgs are sorted
run: |
bundle exec script/alphabetize
git diff --color --exit-code