File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 - master
1313
1414jobs :
15- licenses :
15+ check :
1616 name : License compliance
17+ permissions :
18+ contents : read
1719 runs-on : ubuntu-latest
1820 steps :
1921 - name : Install script
20- uses : ory/ci/licenses/setup@master
22+ uses : ory/ci/licenses/setup@35878b67f40c377bcb14dce2c26cf92e53586b4a # master
2123 with :
22- token : ${{ secrets.ORY_BOT_PAT || secrets.GITHUB_TOKEN }}
24+ token : ${{ github.token }}
2325 - name : Check licenses
24- uses : ory/ci/licenses/check@master
26+ uses : ory/ci/licenses/check@35878b67f40c377bcb14dce2c26cf92e53586b4a # master
27+
28+ write :
29+ name : Update license overview
30+ if :
31+ ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' ||
32+ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v3') }}
33+ needs : check
34+ permissions :
35+ contents : write
36+ runs-on : ubuntu-latest
37+ steps :
38+ - name : Install script
39+ uses : ory/ci/licenses/setup@35878b67f40c377bcb14dce2c26cf92e53586b4a # master
40+ with :
41+ token : ${{ secrets.ORY_BOT_PAT || github.token }}
2542 - name : Write, commit, push licenses
26- uses : ory/ci/licenses/write@master
27- if :
28- ${{ github.ref == 'refs/heads/main' || github.ref ==
29- ' refs/heads/master' || github.ref == 'refs/heads/v3' }}
43+ uses : ory/ci/licenses/write@35878b67f40c377bcb14dce2c26cf92e53586b4a # master
3044 with :
3145 author-email :
3246 ${{ secrets.ORY_BOT_PAT &&
You can’t perform that action at this time.
0 commit comments