Skip to content

Commit a543351

Browse files
authored
Rename publisher-cve to package-vulnerability-scanner (#201)
* Rename publisher-cve package-vulnerability-scanner * Recreate package-lock due to npm bug
1 parent aec958b commit a543351

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+279
-279
lines changed

.github/workflows/extensions.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
# e.g. `extension-name: ${{ steps.changes.outputs.extension-name }}`
186186
# Be sure the extension name and directory name it is in are the same
187187
publisher-command-center: ${{ steps.changes.outputs.publisher-command-center }}
188-
publisher-cves: ${{ steps.changes.outputs.publisher-cves }}
188+
package-vulnerability-scanner: ${{ steps.changes.outputs.package-vulnerability-scanner }}
189189

190190
steps:
191191
- uses: actions/checkout@v4
@@ -199,7 +199,7 @@ jobs:
199199
# e.g. `extension-name: extensions/extension-name/**`
200200
filters: |
201201
publisher-command-center: extensions/publisher-command-center/**
202-
publisher-cves: extensions/publisher-cves/**
202+
package-vulnerability-scanner: extensions/package-vulnerability-scanner/**
203203
204204
# Creates and releases the Publisher Command Center extension using a custom
205205
# workflow
@@ -211,13 +211,13 @@ jobs:
211211
uses: ./.github/workflows/publisher-command-center.yml
212212
secrets: inherit
213213

214-
# Creates and releases the Publisher CVEs extension using a custom workflow
215-
publisher-cves:
214+
# Creates and releases the Package Vulnerability Scanner extension using a custom workflow
215+
package-vulnerability-scanner:
216216
needs: [complex-extension-changes]
217217
# Only runs if the `complex-extension-changes` job detects changes in the
218-
# publisher-cves extension directory
219-
if: ${{ needs.complex-extension-changes.outputs.publisher-cves == 'true' }}
220-
uses: ./.github/workflows/publisher-cves.yml
218+
# package-vulnerability-scanner extension directory
219+
if: ${{ needs.complex-extension-changes.outputs.package-vulnerability-scanner == 'true' }}
220+
uses: ./.github/workflows/package-vulnerability-scanner.yml
221221
secrets: inherit
222222

223223
# All extensions have been linted, packaged, and released, if necessary
@@ -230,7 +230,7 @@ jobs:
230230
runs-on: ubuntu-latest
231231
# Requires that the `simple-extensions` and all custom workflow jobs are
232232
# completed before running this job
233-
needs: [simple-extension-release, publisher-command-center, publisher-cves]
233+
needs: [simple-extension-release, publisher-command-center, package-vulnerability-scanner]
234234
if: ${{ always() }}
235235
outputs:
236236
releases: ${{ steps.fetch-releases.outputs.releases }}

.github/workflows/publisher-cves.yml renamed to .github/workflows/package-vulnerability-scanner.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: Publisher CVEs Extension
1+
name: Package Vulnerability Scanner
22

33
on:
44
workflow_call:
55

66
# Setup the environment with the extension name for easy re-use
77
# Also need the GH_TOKEN for the release-extension action to be able to use gh
88
env:
9-
EXTENSION_NAME: publisher-cves
9+
EXTENSION_NAME: package-vulnerability-scanner
1010
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1111

1212
jobs:
@@ -63,7 +63,7 @@ jobs:
6363
uses: ./.github/workflows/connect-integration-tests.yml
6464
secrets: inherit
6565
with:
66-
extensions: '["publisher-cves"]' # JSON array format to match the workflow input schema
66+
extensions: '["package-vulnerability-scanner"]' # JSON array format to match the workflow input schema
6767

6868
release:
6969
runs-on: ubuntu-latest

extensions/publisher-cves/CONTRIBUTING.md renamed to extensions/package-vulnerability-scanner/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to Publisher CVEs
1+
# Contributing to Package Vulnerability Scanner
22

33
## Prerequisites
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Publisher CVEs
1+
# Package Vulnerability Scanner
22

33
Shows the vulnerabilities affecting the content you have published to Posit
44
Connect.

0 commit comments

Comments
 (0)