Skip to content

Commit 7ba4064

Browse files
authored
feat: add license checker to all repositories (#226)
1 parent 000f213 commit 7ba4064

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Licenses
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- master
9+
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Install script
15+
uses: ory/ci/licenses/setup@master
16+
with:
17+
token: ${{ secrets.ORY_BOT_PAT || secrets.GITHUB_TOKEN }}
18+
- name: Check licenses
19+
uses: ory/ci/licenses/check@master
20+
- name: Write licenses
21+
uses: ory/ci/licenses/write@master
22+
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' }}

0 commit comments

Comments
 (0)