Comments (5)
@jeffpaul The Action currently only supports config file inside the same repo. I expect support for org-wide config files to land soon.
from dependency-review-action.
@febuiles @cnagadya thanks for the great work on v3 adding the external config file, I'm very excited to use this across our org. Our file is not in the main repo folder (see https://github.com/10up/.github/blob/trunk/.github/dependency-review-config.yml) and attempts to reference a folder structure in the config-file
param doesn't seem to work (see https://github.com/10up/insert-special-characters/pull/164/files). Perhaps I've not yet tried the "right" way to call a config file nested within an external repo?
from dependency-review-action.
Hi @jeffpaul, thanks for bringing this up, it's a good question. The current error text is misleading and your config file is getting read.
Because the external config file is a YAML file, we expect to find a list of licenses with the regular YAML format (lines with dashes, like this) (I tested this file as an external config and it works, hope it does for you too)
Since your example is in a single line, YAML will parse the entire line as a single license and then the SPDX parser will raise an error that this is an invalid license expression. Because of the way we handle errors, you end up getting an error for the config file fetching process, while it should actually complain about license parsing. I'll create a new PR to address this!
from dependency-review-action.
@jeffpaul There's actually more to this here, thanks for bringing it up! The previous point of using a YAML list should still work though.
from dependency-review-action.
Awesome, that example in the future-funk
repo is super helpful, many thanks!
from dependency-review-action.
Related Issues (20)
- "Unknown License" reported for reusable workflow dependencies (likely API issue) HOT 2
- Error: Invalid purl: version must be percent-encoded HOT 5
- Unxpected behavior with "fail-on-severity" configuration option HOT 8
- Hide snapshot warning messages if not needed HOT 4
- Python `purl` URLs seem incorrect, some examples don't work HOT 7
- Mark previous PR comment as outdated HOT 4
- No clear Error 403 on submit depenedncy graph for public repo HOT 1
- retry-on-snapshot-warnings - not working as expected on separate snapshot/review workflows HOT 7
- Feature Request: Ensure GitHub Action Dependencies are Pinned HOT 1
- detected a "new" vulnerbility which was already in the project HOT 1
- deny-licenses mistakenly blocking LGPL-3.0 license
- Characterization of thosomes HOT 1
- Update previous comment when failure is resolved HOT 3
- 15WeKFs8FmJrAKHs5iMhS2Mb87LqkA43HE
- Dependency repo
- B
- Properly resolve licenses with "OR" expressions HOT 4
- Failure to determine license and flag to explicitly deny unknown licenses HOT 2
- False positive detection of a vulnerability that has been fixed HOT 4
- Allow Running on PUSH events HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dependency-review-action.