mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-05 13:25:21 +02:00
Merge pull request #314 from hellhound94/topic/fix-script
Changes in generate-license-file script
This commit is contained in:
commit
bc2a12c545
10
.github/workflows/update-license-file.yml
vendored
10
.github/workflows/update-license-file.yml
vendored
|
@ -19,15 +19,17 @@ jobs:
|
|||
|
||||
- name: Run license generation script
|
||||
run: |
|
||||
chmod +x ./generate-license-file.sh
|
||||
./generate-license-file.sh
|
||||
./scripts/generate-license-file
|
||||
|
||||
- name: Commit and push LICENSE file
|
||||
run: |
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add LICENSE
|
||||
git commit -m "Auto-update LICENSE file with current recipe licenses"
|
||||
git push
|
||||
if ! git diff-index --quiet HEAD; then
|
||||
git commit -m "Auto-update LICENSE file with current recipe licenses"
|
||||
git push
|
||||
fi
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
0
generate-license-file.sh → scripts/generate-license-file
Normal file → Executable file
0
generate-license-file.sh → scripts/generate-license-file
Normal file → Executable file
Loading…
Reference in New Issue
Block a user