Skip to content

Commit

Permalink
Fix GitHub Actions wrong path
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhenxu94 committed Feb 24, 2023
1 parent c376a79 commit 4700178
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependency/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ runs:
key: license-eye-${{ runner.os }}-go-${{ hashFiles(format('{0}/{1}', github.action_path, 'go.sum')) }}
restore-keys: license-eye-${{ runner.os }}-go-
- shell: bash
run: make -C $GITHUB_ACTION_PATH install
run: make -C $GITHUB_ACTION_PATH/.. install
- shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
Expand Down
2 changes: 1 addition & 1 deletion header/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
key: license-eye-${{ runner.os }}-go-${{ hashFiles(format('{0}/{1}', github.action_path, 'go.sum')) }}
restore-keys: license-eye-${{ runner.os }}-go-
- shell: bash
run: make -C $GITHUB_ACTION_PATH install
run: make -C $GITHUB_ACTION_PATH/.. install
- shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
Expand Down
23 changes: 23 additions & 0 deletions test/.licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

header:
license:
spdx-id: Apache-2.0
copyright-owner: Apache Software Foundation
paths-ignore:
- '**/*'

0 comments on commit 4700178

Please sign in to comment.