Skip to content

Commit 1d44240

Browse files
committed
chore: update repository templates to ory/meta@7ba4064
1 parent f91f199 commit 1d44240

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/licenses.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/licenses.yml
3+
14
name: Licenses
25

36
on:
@@ -11,11 +14,14 @@ jobs:
1114
check:
1215
runs-on: ubuntu-latest
1316
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-go@v2
16-
with:
17-
go-version: "1.18"
18-
- uses: actions/setup-node@v2
17+
- name: Install script
18+
uses: ory/ci/licenses/setup@master
1919
with:
20-
node-version: "18"
21-
- run: make licenses
20+
token: ${{ secrets.ORY_BOT_PAT || secrets.GITHUB_TOKEN }}
21+
- name: Check licenses
22+
uses: ory/ci/licenses/check@master
23+
- name: Write licenses
24+
uses: ory/ci/licenses/write@master
25+
if:
26+
${{ github.ref == 'refs/heads/main' || github.ref ==
27+
'refs/heads/master' }}

0 commit comments

Comments
 (0)