chore: update changelog #43
Workflow file for this run
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: Update THIRD_PARTY_NOTICE | |
on: | |
push: | |
branches: | |
- '*-release' | |
jobs: | |
update-notice: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update THIRD_PARTY_NOTICE | |
run: | | |
echo "*** Running ORT analyzer ***" | |
docker run -v "$(pwd)":/project philipssoftware/ort --info analyze -f JSON -i /project -o /project/ort | |
echo "*** Creating ORT report ***" | |
docker run -v "$(pwd)":/project philipssoftware/ort --info report -f NoticeTemplate -i /project/ort/analyzer-result.json -o /project/ort | |
cp ort/NOTICE_default THIRD_PARTY_NOTICE | |
- name: Commit THIRD_PARTY_NOTICE | |
run: | | |
git config --global user.name "${{ github.actor }}" | |
git config --global user.email "${{ github.actor }}@users.noreply.github.com" | |
git add THIRD_PARTY_NOTICE | |
git commit -sam "chore: update THIRD_PARTY_NOTICE" | |
git push |