We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 000f213 commit 7ba4064Copy full SHA for 7ba4064
templates/repository/common/.github/workflows/licenses.yml
@@ -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