Skip to content

Commit f705712

Browse files
Fixed github action (#3)
1 parent 47fb175 commit f705712

2 files changed

Lines changed: 24 additions & 11 deletions

File tree

.github/.workflows/specs.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/specs.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Specs
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
license_checks:
9+
name: License checks
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 15
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up Ruby
15+
uses: ruby/setup-ruby@v1
16+
with:
17+
bundler-cache: true
18+
- name: Run license checks
19+
run: |
20+
bundle exec license_finder || (cat <<-END && exit 1)
21+
22+
You seem to be introducing a new license into our stack, please reach out to
23+
#licenses-tech-stack on slack to get guidance on the topic.
24+
END

0 commit comments

Comments
 (0)