Skip to content

Commit

Permalink
fix: add licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 2, 2025
1 parent 83e71e6 commit 013cf4a
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,28 @@ on:
push:
branches:
- main
- v3
- master

jobs:
check:
licenses:
name: License compliance
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- name: Install script
uses: ory/ci/licenses/setup@master
with:
go-version: "1.18"
- uses: actions/setup-node@v2
token: ${{ secrets.ORY_BOT_PAT || secrets.GITHUB_TOKEN }}
- name: Check licenses
uses: ory/ci/licenses/check@master
- name: Write, commit, push licenses
uses: ory/ci/licenses/write@master
if:
${{ github.ref == 'refs/heads/main' || github.ref ==
'refs/heads/master' || github.ref == 'refs/heads/v3' }}
with:
node-version: "18.10"
- run: make licenses
author-email:
${{ secrets.ORY_BOT_PAT &&
'[email protected]' ||
format('{0}@users.noreply.github.com', github.actor) }}
author-name: ${{ secrets.ORY_BOT_PAT && 'ory-bot' || github.actor }}

0 comments on commit 013cf4a

Please sign in to comment.