name: update oss attributions on: push: branches: - master paths: - 'package.json' - 'package-lock.json' workflow_dispatch: jobs: update-oss: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '18' - name: Install and generate attribution run: | npm ci npm i -g oss-attribution-generator generate-attribution mv ./oss-attribution/attribution.txt ./public/oss-attribution/attribution.txt - name: Create pull request to update list uses: peter-evans/create-pull-request@923ad837f191474af6b1721408744feb989a4c27 with: commit-message: Update OSS Attribution author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> branch: ci/oss_attribution title: Update OSS Attribution body: Automated OSS Attribution update