forked from anchore/syft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from scribe-security/upstream_scribe_main
Upstream scribe main
- Loading branch information
Showing
902 changed files
with
48,601 additions
and
7,839 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,78 @@ | ||
enforce-v0: true # don't make breaking-change label bump major version before 1.0. | ||
title: "" | ||
title: "" | ||
|
||
github: | ||
host: github.com | ||
include-issue-pr-authors: true | ||
include-issue-prs: true | ||
include-issues-not-planned: false | ||
include-prs: true | ||
include-issues: true | ||
include-unlabeled-issues: true | ||
include-unlabeled-prs: true | ||
issues-require-linked-prs: false | ||
consider-pr-merge-commits: true | ||
|
||
exclude-labels: | ||
- duplicate | ||
- question | ||
- invalid | ||
- wontfix | ||
- wont-fix | ||
- release-ignore | ||
- changelog-ignore | ||
- ignore | ||
|
||
changes: | ||
|
||
- name: security-fixes | ||
title: Security Fixes | ||
semver-field: patch | ||
labels: | ||
- security | ||
- vulnerability | ||
|
||
- name: added-feature | ||
title: Added Features | ||
semver-field: minor | ||
labels: | ||
- enhancement | ||
- feature | ||
- minor | ||
|
||
- name: bug-fix | ||
title: Bug Fixes | ||
semver-field: patch | ||
labels: | ||
- bug | ||
- fix | ||
- bug-fix | ||
- patch | ||
|
||
- name: breaking-feature | ||
title: Breaking Changes | ||
semver-field: major | ||
labels: | ||
- breaking | ||
- backwards-incompatible | ||
- breaking-change | ||
- breaking-feature | ||
- major | ||
- detected-breaking-change | ||
|
||
- name: removed-feature | ||
title: Removed Features | ||
semver-field: major | ||
labels: | ||
- removed | ||
|
||
- name: deprecated-feature | ||
title: Deprecated Features | ||
semver-field: minor | ||
labels: | ||
- deprecated | ||
|
||
- name: unknown | ||
title: Additional Changes | ||
semver-field: "" | ||
labels: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
# current limit for fixture size | ||
size=1000 | ||
|
||
if [ $# -eq 0 ]; then | ||
echo "Usage: $0 <directory>" | ||
exit 1 | ||
fi | ||
|
||
directory="$1" | ||
|
||
# Remove trailing slash using parameter expansion | ||
directory="${directory%/}" | ||
|
||
if [ ! -d "$directory" ]; then | ||
echo "Directory not found: $directory" | ||
exit 1 | ||
fi | ||
|
||
found_large_files=0 | ||
while IFS= read -r -d '' file; do | ||
if [ $(wc -c < "$file") -gt $size ]; then | ||
echo "File $file is greater than ${size} bytes." | ||
found_large_files=1 | ||
fi | ||
done < <(find "$directory" -type f -print0) | ||
|
||
if [ "$found_large_files" -eq 1 ]; then | ||
echo "Script failed: Some files are greater than ${size} bytes." | ||
exit 1 | ||
else | ||
echo "All files in $directory and its subdirectories are ${size} bytes or smaller. Check passed." | ||
exit 0 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Dependabot Automation | ||
on: | ||
pull_request: | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
run: | ||
uses: anchore/workflows/.github/workflows/dependabot-automation.yaml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.