@tarsilla/commit-wizard 1.1.3 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarsilla/commit-wizard",
3
- "version": "1.1.3",
3
+ "version": "1.2.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,30 +0,0 @@
1
- name: CodeQL Analyze
2
- description: Github action to execute CodeQL analyze as part of a github workflow
3
- inputs:
4
- language:
5
- required: true
6
- build-mode:
7
- required: true
8
- out:
9
- required: true
10
- default: reports
11
- runs:
12
- #permissions:
13
- # security-events: write # to be set in workflow run
14
- using: composite
15
- steps:
16
- - name: Initialize CodeQL
17
- uses: github/codeql-action/init@v3
18
- with:
19
- languages: ${{ inputs.language }}
20
- build-mode: ${{ inputs.build-mode }}
21
- - name: Run CodeQL Analysis
22
- uses: github/codeql-action/analyze@v3
23
- with:
24
- category: /language:${{ inputs.language }}
25
- output: ${{ github.workspace }}/${{ inputs.out }}/codeql-results.sarif
26
- - name: Upload CodeQL report
27
- uses: actions/upload-artifact@master
28
- with:
29
- name: CodeQL report
30
- path: ${{ github.workspace }}/${{ inputs.out }}
@@ -1,30 +0,0 @@
1
- name: OWASP Dependency-Check
2
- description: Github action to execute OWASP dependency check as part of a github workflow
3
- inputs:
4
- project:
5
- required: true
6
- path:
7
- required: true
8
- format:
9
- required: true
10
- out:
11
- required: true
12
- default: reports
13
- suppression:
14
- required: false
15
- runs:
16
- using: composite
17
- steps:
18
- - name: Run OWASP Dependency-Check
19
- uses: ./src/github-actions/code-analysis/base/owasp/owasp
20
- with:
21
- project: ${{ inputs.project }}
22
- path: ${{ inputs.path }}
23
- format: ${{ inputs.format }}
24
- out: ${{ inputs.out }}
25
- suppression: ${{ inputs.suppression }}
26
- - name: Upload OWASP report
27
- uses: actions/upload-artifact@master
28
- with:
29
- name: OWASP report
30
- path: ${{ github.workspace }}/${{ inputs.out }}
@@ -1,5 +0,0 @@
1
- FROM owasp/dependency-check-action:latest
2
- RUN apk add --no-cache bash
3
- COPY entrypoint.sh /entrypoint.sh
4
- RUN chmod +x /entrypoint.sh
5
- ENTRYPOINT ["/entrypoint.sh"]
@@ -1,23 +0,0 @@
1
- name: OWASP Dependency-Check
2
- description: Github action to execute OWASP dependency check as part of a github workflow
3
- inputs:
4
- project:
5
- required: true
6
- path:
7
- required: true
8
- format:
9
- required: true
10
- out:
11
- required: true
12
- default: reports
13
- suppression:
14
- required: false
15
- runs:
16
- using: docker
17
- image: Dockerfile
18
- args:
19
- - ${{ inputs.project }}
20
- - ${{ inputs.path }}
21
- - ${{ inputs.format }}
22
- - ${{ inputs.out }}
23
- - ${{ inputs.suppression }}
@@ -1,19 +0,0 @@
1
- #!/bin/bash
2
- set -e
3
-
4
- # Build base command array.
5
- args=(--project "${INPUT_PROJECT}" \
6
- --scan "$GITHUB_WORKSPACE/${INPUT_PATH}" \
7
- --format "${INPUT_FORMAT}" \
8
- --out "$GITHUB_WORKSPACE/${INPUT_OUT}" \
9
- --noupdate \
10
- --enableRetired \
11
- --failOnCVSS 7)
12
-
13
- # If the suppression boolean is true, append the flag.
14
- if [ "${INPUT_SUPPRESSION}" = "true" ]; then
15
- args+=(--suppression suppressions.xml)
16
- fi
17
-
18
- # Execute OWASP Dependency-Check with the built arguments.
19
- /usr/share/dependency-check/bin/dependency-check.sh ${args[@]}
@@ -1,15 +0,0 @@
1
- name: Snyk Code Test
2
- description: Github action to execute Snyk code test as part of a github workflow
3
- inputs:
4
- token:
5
- required: true
6
- runs:
7
- using: composite
8
- steps:
9
- - name: Run Snyk Code Test
10
- uses: snyk/actions/node@master
11
- with:
12
- command: code test
13
- args: --severity-threshold=high
14
- env:
15
- SNYK_TOKEN: ${{ inputs.token }}
@@ -1,24 +0,0 @@
1
- name: Snyk Test
2
- description: Github action to execute Snyk test as part of a github workflow
3
- inputs:
4
- project:
5
- required: true
6
- token:
7
- required: true
8
- runs:
9
- using: composite
10
- steps:
11
- - name: Run Snyk Test
12
- uses: snyk/actions/node@master
13
- env:
14
- SNYK_TOKEN: ${{ inputs.token }}
15
- with:
16
- command: test
17
- args: --severity-threshold=high
18
- - name: Run Snyk Monitor
19
- uses: snyk/actions/node@master
20
- with:
21
- command: monitor
22
- args: --project-name="${{ inputs.project }}"
23
- env:
24
- SNYK_TOKEN: ${{ inputs.token }}
@@ -1,19 +0,0 @@
1
- name: OWASP Dependency-Check
2
- description: Github action to execute OWASP dependency check as part of a github workflow for NodeJS projects
3
- runs:
4
- using: composite
5
- steps:
6
- - name: Setup Node.js
7
- uses: actions/setup-node@v4
8
- with:
9
- node-version: 22.x
10
- registry-url: https://registry.npmjs.org
11
- - name: Install dependencies
12
- run: npm ci
13
- shell: bash
14
- - name: Run CodeQL Analysis
15
- uses: ./src/github-actions/code-analysis/base/codeql
16
- with:
17
- language: javascript-typescript
18
- build-mode: none
19
- out: reports
@@ -1,24 +0,0 @@
1
- name: OWASP Dependency-Check
2
- description: Github action to execute OWASP dependency check as part of a github workflow for NodeJS projects
3
- inputs:
4
- suppression:
5
- required: false
6
- runs:
7
- using: composite
8
- steps:
9
- - name: Setup Node.js
10
- uses: actions/setup-node@v4
11
- with:
12
- node-version: 22.x
13
- registry-url: https://registry.npmjs.org
14
- - name: Install dependencies
15
- run: npm ci
16
- shell: bash
17
- - name: Run OWASP Dependency-Check
18
- uses: ./src/github-actions/code-analysis/base/owasp
19
- with:
20
- project: ${{ github.repository }}
21
- path: .
22
- format: HTML
23
- out: reports
24
- suppression: ${{ inputs.suppression }}
@@ -1,20 +0,0 @@
1
- name: Snyk Test
2
- description: Github action to execute Snyk test as part of a github workflow for NodeJS projects
3
- inputs:
4
- token:
5
- required: true
6
- runs:
7
- using: composite
8
- steps:
9
- - name: Setup Node.js
10
- uses: actions/setup-node@v4
11
- with:
12
- node-version: 22.x
13
- registry-url: https://registry.npmjs.org
14
- - name: Install dependencies
15
- run: npm ci
16
- shell: bash
17
- - name: Run Snyk Code Test
18
- uses: ./src/github-actions/code-analysis/base/snyk/code-test/node
19
- with:
20
- token: ${{ inputs.token }}
@@ -1,21 +0,0 @@
1
- name: Snyk Test
2
- description: Github action to execute Snyk test as part of a github workflow for NodeJS projects
3
- inputs:
4
- token:
5
- required: true
6
- runs:
7
- using: composite
8
- steps:
9
- - name: Setup Node.js
10
- uses: actions/setup-node@v4
11
- with:
12
- node-version: 22.x
13
- registry-url: https://registry.npmjs.org
14
- - name: Install dependencies
15
- run: npm ci
16
- shell: bash
17
- - name: Run Snyk Test
18
- uses: ./src/github-actions/code-analysis/base/snyk/test/node
19
- with:
20
- project: ${{ github.repository }}
21
- token: ${{ inputs.token }}
@@ -1,35 +0,0 @@
1
- name: Deploy to Github Pages
2
- description: Github action to deploy to github pages as part of a github workflow for NodeJS projects
3
- inputs:
4
- path:
5
- required: true
6
- install:
7
- required: true
8
- build:
9
- required: true
10
- outputs:
11
- page_url:
12
- description: The URL of the page
13
- value: ${{ steps.deploy.outputs.page_url }}
14
- runs:
15
- #permissions:
16
- # contents: read # to be set in workflow run
17
- # pages: write # to be set in workflow run
18
- # id-token: write # to be set in workflow run
19
- using: composite
20
- steps:
21
- - name: Install
22
- shell: bash
23
- run: ${{ inputs.install_command }}
24
- - name: Build
25
- shell: bash
26
- run: ${{ inputs.build }}
27
- - name: Upload files
28
- uses: actions/upload-pages-artifact@v3
29
- with:
30
- path: ${{ inputs.path }}
31
- - id: deploy
32
- name: Deploy to GitHub Pages
33
- uses: actions/deploy-pages@v4
34
- with:
35
- token: ${{ github.token }}
@@ -1,28 +0,0 @@
1
- name: Deploy Storybook to Github Pages
2
- description: Github action to deploy storybook to github pages as part of a github workflow for NodeJS projects
3
- inputs:
4
- path:
5
- required: false
6
- install:
7
- required: false
8
- build:
9
- required: false
10
- outputs:
11
- page_url:
12
- description: The URL of the page
13
- value: ${{ steps.deploy.outputs.page_url }}
14
- runs:
15
- using: composite
16
- steps:
17
- - name: Setup Node.js
18
- uses: actions/setup-node@v4
19
- with:
20
- node-version: 22.x
21
- registry-url: https://registry.npmjs.org
22
- - id: deploy
23
- name: Deploy Storybook to Github Pages
24
- uses: ./src/github-actions/deploy/github-pages/base
25
- with:
26
- path: storybook-static
27
- install: npm ci
28
- build: npm run build-storybook
@@ -1,28 +0,0 @@
1
- name: NPM Publish
2
- description: Github action to publish to npm as part of a github workflow for NodeJS projects
3
- inputs:
4
- token:
5
- required: true
6
- runs:
7
- #permissions:
8
- # contents: write # to be set in workflow run
9
- # id-token: write # to be set in workflow run
10
- using: composite
11
- steps:
12
- - name: Setup Node.js
13
- uses: actions/setup-node@v4
14
- with:
15
- node-version: 22.x
16
- registry-url: https://registry.npmjs.org
17
- - name: Install dependencies
18
- shell: bash
19
- run: npm ci
20
- - name: Build
21
- shell: bash
22
- run: npm run build
23
- - name: Publish to NPM
24
- shell: bash
25
- run: npx semantic-release
26
- env:
27
- GITHUB_TOKEN: ${{ github.token }}
28
- NPM_TOKEN: ${{ inputs.token }}