Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump anchore/sbom-action from 0.16.0 to 0.17.9 #16

Open
wants to merge 1 commit into
base: release/v1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/actions_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: '20'

Check failure on line 79 in .github/workflows/actions_release.yaml

View workflow job for this annotation

GitHub Actions / lint-content / lint-documentation

79:1 [trailing-spaces] trailing spaces
- name: Install dependencies
if: env.action_type == 'node'
run: |
Expand All @@ -85,7 +85,7 @@
else
npm ci
fi

Check failure on line 88 in .github/workflows/actions_release.yaml

View workflow job for this annotation

GitHub Actions / lint-content / lint-documentation

88:1 [trailing-spaces] trailing spaces
- name: Run build with fallback to ncc build
if: env.action_type == 'node'
continue-on-error: true
Expand All @@ -95,7 +95,7 @@
yarn run build
else
npm run build || (
echo "npm run build failed, trying npm run prepare" &&

Check failure on line 98 in .github/workflows/actions_release.yaml

View workflow job for this annotation

GitHub Actions / lint-content / lint-documentation

98:69 [trailing-spaces] trailing spaces
npm run prepare
) || (
echo "Both npm run build and npm run prepare failed, falling back to ncc build" &&
Expand All @@ -105,19 +105,19 @@
ncc build src/index.js
)
fi

Check failure on line 108 in .github/workflows/actions_release.yaml

View workflow job for this annotation

GitHub Actions / lint-content / lint-documentation

108:1 [trailing-spaces] trailing spaces
- name: Compare the expected and actual dist/ directories
if: env.action_type == 'node' && steps.build-step.outcome == 'success'
run: |
DIFF=$(git diff --ignore-all-space --ignore-blank-lines dist/)

Check failure on line 113 in .github/workflows/actions_release.yaml

View workflow job for this annotation

GitHub Actions / lint-content / lint-documentation

113:1 [trailing-spaces] trailing spaces
# Filter out empty lines and whitespace-only lines using awk
DIFF_FILTERED=$(echo "$DIFF" | awk 'NF')

Check failure on line 116 in .github/workflows/actions_release.yaml

View workflow job for this annotation

GitHub Actions / lint-content / lint-documentation

116:1 [trailing-spaces] trailing spaces
# Check if there are meaningful differences
if [ -n "$DIFF_FILTERED" ]; then
echo "**Uncommitted changes detected after build. See the build log for details.**" >> $GITHUB_STEP_SUMMARY

Check failure on line 120 in .github/workflows/actions_release.yaml

View workflow job for this annotation

GitHub Actions / lint-content / lint-documentation

120:1 [trailing-spaces] trailing spaces
echo "### Detected Uncommitted Changes"
echo "Detected uncommitted changes after build. See the details below:"
echo '```diff'
Expand Down Expand Up @@ -156,7 +156,7 @@
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Generate SBOM
uses: anchore/sbom-action@e8d2a6937ecead383dfe75190d104edd1f9c5751 # v0.16.0
uses: anchore/sbom-action@df80a981bc6edbc4e220a492d3cbe9f5547a6e75 # v0.17.9
with:
path: "./"
output-file: ./sbom-${{ github.event.inputs.tag }}.spdx.json
Expand Down
Loading