Skip to content

Commit 5667691

Browse files
build(deps): bump reuse from v5 to v6
Signed-off-by: Andy Scherzinger <[email protected]>
1 parent 4f25051 commit 5667691

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/reuse.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
runs-on: ubuntu-latest-low
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
22+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2323
with:
2424
persist-credentials: false
2525

2626
- name: REUSE Compliance Check
27-
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0
27+
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0

build/frontend-legacy/WebpackSPDXPlugin.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,10 @@ class WebpackSPDXPlugin {
203203
const match = source.match(/asset\/inline\|data:image\/svg\+xml,(.+)/)
204204
if (match) {
205205
const content = decodeURI(match[1])
206+
// REUSE-IgnoreStart
206207
const [, license] = content.match(/SPDX-License-Identifier:\s*([^\s]+)/) ?? []
207208
const [, author] = content.match(/SPDX-FileCopyrightText:\s*([^-]+)/) ?? []
209+
// REUSE-IgnoreEnd
208210
if (author && license) {
209211
authors.add(author)
210212
licenses.add(license)
@@ -219,10 +221,14 @@ class WebpackSPDXPlugin {
219221
}
220222

221223
for (const author of [...authors].sort()) {
224+
// REUSE-IgnoreStart
222225
output = `SPDX-FileCopyrightText: ${author}\n${output}`
226+
// REUSE-IgnoreEnd
223227
}
224228
for (const license of [...licenses].sort()) {
229+
// REUSE-IgnoreStart
225230
output = `SPDX-License-Identifier: ${license}\n${output}`
231+
// REUSE-IgnoreEnd
226232
}
227233

228234
compilation.emitAsset(

0 commit comments

Comments
 (0)