diff --git a/.github/workflows/license-checker.yml b/.github/workflows/license-checker.yml index e8fbc5ffc..5997b7883 100644 --- a/.github/workflows/license-checker.yml +++ b/.github/workflows/license-checker.yml @@ -18,6 +18,10 @@ on: pull_request: branches: [ master ] +permissions: + contents: write + pull-requests: write + jobs: license-check: runs-on: ubuntu-latest @@ -26,4 +30,4 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Check License Header - uses: apache/skywalking-eyes/header@6b2529214f6b1ccee3ec92bb0adfeabf6f66f538 # v0.5.0 + uses: apache/skywalking-eyes@6b2529214f6b1ccee3ec92bb0adfeabf6f66f538 # v0.5.0 diff --git a/.licenserc.yaml b/.licenserc.yaml index 1d85237d7..e81978f6c 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -28,6 +28,8 @@ header: SPDX-License-Identifier: Apache-2.0 ******************************************************************************** + pattern: Copyright (c) \d{4} Contributors to the Eclipse Foundation + comment: on-failure paths-ignore: