mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 03:59:46 +02:00
Merge pull request #314 from hellhound94/topic/fix-script
Changes in generate-license-file script
This commit is contained in:
commit
bc2a12c545
6
.github/workflows/update-license-file.yml
vendored
6
.github/workflows/update-license-file.yml
vendored
|
@ -19,15 +19,17 @@ jobs:
|
||||||
|
|
||||||
- name: Run license generation script
|
- name: Run license generation script
|
||||||
run: |
|
run: |
|
||||||
chmod +x ./generate-license-file.sh
|
./scripts/generate-license-file
|
||||||
./generate-license-file.sh
|
|
||||||
|
|
||||||
- name: Commit and push LICENSE file
|
- name: Commit and push LICENSE file
|
||||||
run: |
|
run: |
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git add LICENSE
|
git add LICENSE
|
||||||
|
if ! git diff-index --quiet HEAD; then
|
||||||
git commit -m "Auto-update LICENSE file with current recipe licenses"
|
git commit -m "Auto-update LICENSE file with current recipe licenses"
|
||||||
git push
|
git push
|
||||||
|
fi
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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