generated from cloudoperators/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lisence_workflow): fixed lisence check github action
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,18 +15,20 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Check License Header | ||
uses: apache/skywalking-eyes/[email protected] | ||
with: | ||
config: .github/licenserc.yaml | ||
mode: fix | ||
config: .github/licenserc.yaml | ||
mode: fix | ||
|
||
- name: Apply Changes | ||
uses: EndBug/add-and-commit@v9 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
author_name: License Bot | ||
author_email: [email protected] | ||
message: 'Automatic application of license header' | ||
author_name: License Bot | ||
author_email: [email protected] | ||
message: 'Automatic application of license header' |