Skip to content

Commit

Permalink
Merge pull request #314 from hellhound94/topic/fix-script
Browse files Browse the repository at this point in the history
Changes in generate-license-file script
  • Loading branch information
otavio authored Dec 4, 2024
2 parents 2291cfa + 3ee87ac commit bc2a12c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/update-license-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
File renamed without changes.

0 comments on commit bc2a12c

Please sign in to comment.