Skip to content

Commit c5edf36

Browse files
committed
chore: Add GitHub Action for Ensuring Orgs
1 parent 6452187 commit c5edf36

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ensure-orgs.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Ensure entries are GitHub Orgs
2+
3+
on:
4+
push:
5+
paths:
6+
- "Gemfile"
7+
- "script/ensure-orgs"
8+
- ".github/workflows/ensure-orgs.yml"
9+
- "_data/**"
10+
pull_request:
11+
paths:
12+
- "Gemfile"
13+
- "script/ensure-orgs"
14+
- ".github/workflows/ensure-orgs.yml"
15+
- "_data/**"
16+
17+
jobs:
18+
build:
19+
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Set up Ruby 2.6
25+
uses: actions/setup-ruby@v1
26+
with:
27+
ruby-version: 2.6.x
28+
- name: Ensure data entries are GitHub Orgs
29+
run: |
30+
gem install bundler
31+
bundle install --jobs 4 --retry 3
32+
bundle exec script/ensure-orgs

0 commit comments

Comments
 (0)