Skip to content

Commit

Permalink
fix(lisence_workflow): fixed lisence check github action
Browse files Browse the repository at this point in the history
  • Loading branch information
drochow committed Jun 28, 2024
1 parent 968bb9e commit 28221c1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 28221c1

Please sign in to comment.