Skip to content

fix(credentials): preserve canceled inherited helper lookups (#1467) #2196

fix(credentials): preserve canceled inherited helper lookups (#1467)

fix(credentials): preserve canceled inherited helper lookups (#1467) #2196

# Copyright The ORAS Authors.
# Licensed 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.
name: License Checker
on:
push:
branches:
- main
- v2
pull_request:
branches:
- main
- v2
permissions:
contents: read
pull-requests: write
jobs:
check-license:
runs-on: ubuntu-latest
# skywalking-eyes pins its own Go 1.25 toolchain and exports
# GOTOOLCHAIN=local. The header action installs license-eye, so run the
# dependency check directly with toolchain switching enabled below.
env:
GOTOOLCHAIN: auto
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Check license header
uses: apache/skywalking-eyes/header@a196742f472feaffafea537ce5a2a4c3c53a8de4 # v0.9.0
with:
mode: check
config: .github/licenserc.yml
- name: Check dependencies license
env:
GOTOOLCHAIN: auto
run: license-eye -v info -c .github/licenserc.yml dependency check