bitwarden_workflow_linter 1.3.1__tar.gz → 1.3.3__tar.gz
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.
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/bwwl_operations.yml +20 -7
- bitwarden_workflow_linter-1.3.3/.github/workflows/scan.yml +56 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/PKG-INFO +1 -1
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/__about__.py +1 -1
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/default_actions.json +5 -0
- bitwarden_workflow_linter-1.3.1/.github/workflows/scan.yml +0 -126
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.editorconfig +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.gitattributes +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/CODEOWNERS +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/actionlint.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/renovate.json +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/_version_type.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/cd.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/ci.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/enforce-labels.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/examples/ci.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/examples/example-references/_build.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/examples/example-references/_docker.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/examples/example-references/_test.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/examples/example-references/_version.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/examples/example.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/examples/pull_request_target.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/examples/scan.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.gitignore +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.husky/pre-commit +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.python-version +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/CONTRIBUTING.md +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/LICENSE.txt +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/Pipfile +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/Pipfile.lock +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/README.md +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/RULE_ROLLOUT.md +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/SECURITY.md +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/Taskfile.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/package-lock.json +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/package.json +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/pylintrc +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/pyproject.toml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/pyproject.toml.tpl +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/settings.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/__init__.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/actionlint_version.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/actions.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/cli.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/default_settings.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/lint.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/load.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/models/__init__.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/models/job.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/models/step.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/models/workflow.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rule.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/check_pr_target.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/name_capitalized.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/name_exists.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/permissions_exist.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/run_actionlint.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/step_approved.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/step_pinned.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/rules/underscore_outputs.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/src/bitwarden_workflow_linter/utils.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/__init__.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/conftest.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test-alt.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test-min-incorrect.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test-min.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test-outputs-incorrect.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test.yml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test_a.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test_workflow.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test_workflow_incorrect.yaml +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_check_pr_target.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_name_capitalized.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_name_exists.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_permissions_exist.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_run_actionlint.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_step_approved.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_step_pinned.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_underscore_output.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/test_job.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/test_lint.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/test_load.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/test_rule.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/test_step.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/test_utils.py +0 -0
- {bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/test_workflow.py +0 -0
@@ -4,15 +4,19 @@ on:
|
|
4
4
|
workflow_dispatch:
|
5
5
|
inputs:
|
6
6
|
operation:
|
7
|
-
description:
|
7
|
+
description: "Operation to perform. ex: update, add"
|
8
8
|
required: true
|
9
9
|
type: string
|
10
10
|
action:
|
11
|
-
description:
|
11
|
+
description: "Single action to add. ex: actions/checkout"
|
12
|
+
required: false
|
13
|
+
type: string
|
14
|
+
artifact:
|
15
|
+
description: "Artifact reference (JIRA ticket, business reason, etc) for the new action."
|
12
16
|
required: false
|
13
17
|
type: string
|
14
18
|
schedule:
|
15
|
-
|
19
|
+
- cron: "0 0 * * 1"
|
16
20
|
|
17
21
|
jobs:
|
18
22
|
actions-operation:
|
@@ -24,10 +28,15 @@ jobs:
|
|
24
28
|
pull-requests: write
|
25
29
|
env:
|
26
30
|
_ACTION: ${{ inputs.action }}
|
31
|
+
_ARTIFACT: ${{ inputs.artifact }}
|
27
32
|
steps:
|
28
|
-
-
|
29
|
-
|
30
|
-
|
33
|
+
- name: Check for action input
|
34
|
+
if: ${{ inputs.operation == 'add' && !env._ACTION }}
|
35
|
+
run: echo "Action input is required for operation 'add'" && exit 1
|
36
|
+
|
37
|
+
- name: Check for artifact reference
|
38
|
+
if: ${{ inputs.operation == 'add' && !env._ARTIFACT }}
|
39
|
+
run: echo "Artifact reference is required for operation 'add'" && exit 1
|
31
40
|
|
32
41
|
- name: Log in to Azure
|
33
42
|
uses: bitwarden/gh-actions/azure-login@main
|
@@ -134,6 +143,7 @@ jobs:
|
|
134
143
|
env:
|
135
144
|
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
136
145
|
TITLE: "Update/Add bwwl approved actions${{ inputs.operation == 'add' && env._ACTION != '' && format(' for {0}', env._ACTION) || '' }}"
|
146
|
+
ARTIFACT: "${{ inputs.operation == 'add' && format('\n ## Artifact Reference\n {0}\n', env._ARTIFACT) || '' }}"
|
137
147
|
run: |
|
138
148
|
PR_URL=$(gh pr create --title "$TITLE" \
|
139
149
|
--base "main" \
|
@@ -148,6 +158,9 @@ jobs:
|
|
148
158
|
- [ ] Build/deploy pipeline (DevOps)
|
149
159
|
- [ ] Other
|
150
160
|
|
161
|
+
## Initiated by
|
162
|
+
${{ github.actor }}
|
163
|
+
$ARTIFACT
|
151
164
|
## Description
|
152
165
|
- This PR updates the approved actions for the Bitwarden Workflow Linter.")
|
153
|
-
echo "
|
166
|
+
echo "### PR created: $PR_URL" >> $GITHUB_STEP_SUMMARY
|
@@ -0,0 +1,56 @@
|
|
1
|
+
name: Scan
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_dispatch:
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- "main"
|
8
|
+
- "rc"
|
9
|
+
- "hotfix-rc"
|
10
|
+
pull_request:
|
11
|
+
types: [opened, synchronize, reopened]
|
12
|
+
branches-ignore:
|
13
|
+
- main
|
14
|
+
pull_request_target:
|
15
|
+
types: [opened, synchronize, reopened]
|
16
|
+
branches:
|
17
|
+
- "main"
|
18
|
+
|
19
|
+
permissions: {}
|
20
|
+
|
21
|
+
jobs:
|
22
|
+
check-run:
|
23
|
+
name: Check PR run
|
24
|
+
uses: bitwarden/gh-actions/.github/workflows/check-run.yml@main
|
25
|
+
permissions:
|
26
|
+
contents: read
|
27
|
+
|
28
|
+
sast:
|
29
|
+
name: Checkmarx
|
30
|
+
uses: bitwarden/gh-actions/.github/workflows/_checkmarx.yml@main
|
31
|
+
needs: check-run
|
32
|
+
secrets:
|
33
|
+
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
34
|
+
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
|
35
|
+
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
|
36
|
+
permissions:
|
37
|
+
contents: read
|
38
|
+
pull-requests: write
|
39
|
+
security-events: write
|
40
|
+
id-token: write
|
41
|
+
|
42
|
+
quality:
|
43
|
+
name: Sonar
|
44
|
+
uses: bitwarden/gh-actions/.github/workflows/_sonar.yml@main
|
45
|
+
needs: check-run
|
46
|
+
secrets:
|
47
|
+
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
48
|
+
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
|
49
|
+
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
|
50
|
+
permissions:
|
51
|
+
contents: read
|
52
|
+
pull-requests: write
|
53
|
+
id-token: write
|
54
|
+
with:
|
55
|
+
sonar-sources: "src/"
|
56
|
+
sonar-tests: "tests/"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitwarden_workflow_linter
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.3
|
4
4
|
Summary: Custom GitHub Action Workflow Linter
|
5
5
|
Project-URL: Homepage, https://github.com/bitwarden/workflow-linter
|
6
6
|
Project-URL: Issues, https://github.com/bitwarden/workflow-linter/issues
|
@@ -379,6 +379,11 @@
|
|
379
379
|
"sha": "276d7966e389d888f011539a86c8920025ea0626",
|
380
380
|
"version": "v3.0.1"
|
381
381
|
},
|
382
|
+
"peter-evans/repository-dispatch": {
|
383
|
+
"name": "peter-evans/repository-dispatch",
|
384
|
+
"sha": "ff45666b9427631e3450c54a1bcbee4d9ff4d7c0",
|
385
|
+
"version": "v3.0.0"
|
386
|
+
},
|
382
387
|
"reactivecircus/android-emulator-runner": {
|
383
388
|
"name": "reactivecircus/android-emulator-runner",
|
384
389
|
"sha": "62dbb605bba737720e10b196cb4220d374026a6d",
|
@@ -1,126 +0,0 @@
|
|
1
|
-
name: Scan
|
2
|
-
|
3
|
-
on:
|
4
|
-
workflow_dispatch:
|
5
|
-
push:
|
6
|
-
branches:
|
7
|
-
- "main"
|
8
|
-
- "rc"
|
9
|
-
- "hotfix-rc"
|
10
|
-
pull_request:
|
11
|
-
types: [opened, synchronize, reopened]
|
12
|
-
branches-ignore:
|
13
|
-
- main
|
14
|
-
pull_request_target:
|
15
|
-
types: [opened, synchronize, reopened]
|
16
|
-
branches:
|
17
|
-
- "main"
|
18
|
-
|
19
|
-
permissions: {}
|
20
|
-
|
21
|
-
jobs:
|
22
|
-
check-run:
|
23
|
-
name: Check PR run
|
24
|
-
uses: bitwarden/gh-actions/.github/workflows/check-run.yml@main
|
25
|
-
permissions:
|
26
|
-
contents: read
|
27
|
-
|
28
|
-
sast:
|
29
|
-
name: SAST scan
|
30
|
-
runs-on: ubuntu-22.04
|
31
|
-
needs: check-run
|
32
|
-
permissions:
|
33
|
-
contents: read
|
34
|
-
pull-requests: write
|
35
|
-
security-events: write
|
36
|
-
id-token: write
|
37
|
-
|
38
|
-
steps:
|
39
|
-
- name: Check out repo
|
40
|
-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
41
|
-
with:
|
42
|
-
ref: ${{ github.event.pull_request.head.sha }}
|
43
|
-
|
44
|
-
- name: Log in to Azure
|
45
|
-
uses: bitwarden/gh-actions/azure-login@main
|
46
|
-
with:
|
47
|
-
subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
48
|
-
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
|
49
|
-
client_id: ${{ secrets.AZURE_CLIENT_ID }}
|
50
|
-
|
51
|
-
- name: Get Azure Key Vault secrets
|
52
|
-
id: get-kv-secrets
|
53
|
-
uses: bitwarden/gh-actions/get-keyvault-secrets@main
|
54
|
-
with:
|
55
|
-
keyvault: gh-org-bitwarden
|
56
|
-
secrets: "CHECKMARX-TENANT,CHECKMARX-CLIENT-ID,CHECKMARX-SECRET"
|
57
|
-
|
58
|
-
- name: Log out from Azure
|
59
|
-
uses: bitwarden/gh-actions/azure-logout@main
|
60
|
-
|
61
|
-
- name: Scan with Checkmarx
|
62
|
-
uses: checkmarx/ast-github-action@ef93013c95adc60160bc22060875e90800d3ecfc # 2.3.19
|
63
|
-
env:
|
64
|
-
INCREMENTAL: "${{ contains(github.event_name, 'pull_request') && '--sast-incremental' || '' }}"
|
65
|
-
with:
|
66
|
-
project_name: ${{ github.repository }}
|
67
|
-
cx_tenant: ${{ steps.get-kv-secrets.outputs.CHECKMARX-TENANT }}
|
68
|
-
base_uri: https://ast.checkmarx.net/
|
69
|
-
cx_client_id: ${{ steps.get-kv-secrets.outputs.CHECKMARX-CLIENT-ID }}
|
70
|
-
cx_client_secret: ${{ steps.get-kv-secrets.outputs.CHECKMARX-SECRET }}
|
71
|
-
additional_params: |
|
72
|
-
--report-format sarif \
|
73
|
-
--filter "state=TO_VERIFY;PROPOSED_NOT_EXPLOITABLE;CONFIRMED;URGENT" \
|
74
|
-
--output-path . ${{ env.INCREMENTAL }}
|
75
|
-
|
76
|
-
- name: Upload Checkmarx results to GitHub
|
77
|
-
uses: github/codeql-action/upload-sarif@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
|
78
|
-
with:
|
79
|
-
sarif_file: cx_result.sarif
|
80
|
-
sha: ${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.sha || github.sha }}
|
81
|
-
ref: ${{ contains(github.event_name, 'pull_request') && format('refs/pull/{0}/head', github.event.pull_request.number) || github.ref }}
|
82
|
-
|
83
|
-
quality:
|
84
|
-
name: Quality scan
|
85
|
-
runs-on: ubuntu-22.04
|
86
|
-
needs: check-run
|
87
|
-
permissions:
|
88
|
-
contents: read
|
89
|
-
pull-requests: write
|
90
|
-
id-token: write
|
91
|
-
|
92
|
-
steps:
|
93
|
-
- name: Check out repo
|
94
|
-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
95
|
-
with:
|
96
|
-
fetch-depth: 0
|
97
|
-
ref: ${{ github.event.pull_request.head.sha }}
|
98
|
-
|
99
|
-
- name: Log in to Azure
|
100
|
-
uses: bitwarden/gh-actions/azure-login@main
|
101
|
-
with:
|
102
|
-
subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
103
|
-
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
|
104
|
-
client_id: ${{ secrets.AZURE_CLIENT_ID }}
|
105
|
-
|
106
|
-
- name: Get Azure Key Vault secrets
|
107
|
-
id: get-kv-secrets
|
108
|
-
uses: bitwarden/gh-actions/get-keyvault-secrets@main
|
109
|
-
with:
|
110
|
-
keyvault: gh-org-bitwarden
|
111
|
-
secrets: "SONAR-TOKEN"
|
112
|
-
|
113
|
-
- name: Log out from Azure
|
114
|
-
uses: bitwarden/gh-actions/azure-logout@main
|
115
|
-
|
116
|
-
- name: Scan with SonarCloud
|
117
|
-
uses: sonarsource/sonarqube-scan-action@2500896589ef8f7247069a56136f8dc177c27ccf # v5.2.0
|
118
|
-
env:
|
119
|
-
SONAR_TOKEN: ${{ steps.get-kv-secrets.outputs.SONAR-TOKEN }}
|
120
|
-
with:
|
121
|
-
args: >
|
122
|
-
-Dsonar.organization=${{ github.repository_owner }}
|
123
|
-
-Dsonar.projectKey=${{ github.repository_owner }}_${{ github.event.repository.name }}
|
124
|
-
-Dsonar.sources=src/
|
125
|
-
-Dsonar.tests=tests/
|
126
|
-
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/PULL_REQUEST_TEMPLATE.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/cd.yml
RENAMED
File without changes
|
{bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/.github/workflows/ci.yml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test-alt.yml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test-min.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/fixtures/test_a.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_name_exists.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.3.1 → bitwarden_workflow_linter-1.3.3}/tests/rules/test_step_pinned.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|