Attribution NOTICES file #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Attribution NOTICES file | |
on: | |
schedule: | |
# every saturday on 3 am | |
- cron: '0 3 * * 6' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup nodejs and required npm packages | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.9 | |
- run: | | |
npm i -g synp [email protected] | |
yarn | |
synp --source-file yarn.lock | |
- name: ClearlyNoticed Action | |
uses: dabutvin/[email protected] | |
with: | |
args: --filename NOTICES | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |