Skip to content

fix(ci): pass CODECOV_TOKEN to reusable-build.yml #1423

fix(ci): pass CODECOV_TOKEN to reusable-build.yml

fix(ci): pass CODECOV_TOKEN to reusable-build.yml #1423

Workflow file for this run

# Copyright The Notary Project 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: build
on:
push:
branches:
- main
- release-*
pull_request:
branches:
- main
- release-*
jobs:
build:
uses: notaryproject/notation-core-go/.github/workflows/reusable-build.yml@main
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Check failure on line 30 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 30, Col: 22): Invalid secret, CODECOV_TOKEN is not defined in the referenced workflow.