Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
Open

Test #1684

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b4d4571
Merge pull request #1595 from CDCgov/develop
dtx0111 Mar 11, 2024
bdacb45
Merge pull request #1598 from CDCgov/develop
mscaldas2012 Mar 13, 2024
f09b763
Merge pull request #1601 from CDCgov/develop
mscaldas2012 Mar 15, 2024
ba9e941
Merge pull request #1612 from CDCgov/develop
dtx0111 Mar 21, 2024
74185fa
Merge pull request #1623 from CDCgov/develop
mscaldas2012 Mar 28, 2024
1aabfbb
Merge pull request #1633 from CDCgov/develop
mscaldas2012 Apr 10, 2024
d92b730
Testing new Code Scan Workflow.
steven-rhodes-cdc Apr 16, 2024
d9a6483
Testing
steven-rhodes-cdc Apr 17, 2024
fa252bc
Merge pull request #1638 from CDCgov/HL7-2957
steven-rhodes-cdc Apr 17, 2024
0f1c7ab
Revert "Hl7 2957"
steven-rhodes-cdc Apr 17, 2024
8c84960
Merge pull request #1641 from CDCgov/revert-1638-HL7-2957
steven-rhodes-cdc Apr 17, 2024
9de1521
Merge pull request #1642 from CDCgov/develop
marcia-schulman Apr 17, 2024
42a0c24
Merge pull request #1669 from CDCgov/develop
marcia-schulman May 16, 2024
1e2b5fb
Merge pull request #1674 from CDCgov/develop
steven-rhodes-cdc May 21, 2024
2ce6404
Merge pull request #1678 from CDCgov/develop
steven-rhodes-cdc May 23, 2024
5c6fdd2
testing fortify scanning
steven-rhodes-cdc May 30, 2024
7431b68
testing fortify scanning
steven-rhodes-cdc May 30, 2024
22ff141
testing fortify scanning
steven-rhodes-cdc May 30, 2024
c5a4e6c
testing fortify scanning
steven-rhodes-cdc May 30, 2024
e1d4ea6
testing fortify scanning
steven-rhodes-cdc May 30, 2024
e4507d6
testing fortify scanning
steven-rhodes-cdc May 30, 2024
f64ef7d
testing bug fix
steven-rhodes-cdc May 30, 2024
5d6ed28
testing fortify scanning
steven-rhodes-cdc May 30, 2024
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
8 changes: 4 additions & 4 deletions .github/workflows/pull-request-merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ defaults:
shell: bash

on:
pull_request:
types: [opened, reopened, synchronize]
branches: [main]
pull_request: # TODO
# types: [opened, reopened, synchronize]
# branches: [main]

permissions:
contents: read
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
workflow: 'pull-request-code-scan.yml'
repo: cdcent/data-exchange-hl7-devops
token: ${{ env.access_token }}
inputs: '{ "pathsToScan": "${{ steps.getdirs2scan.outputs.dirs }}", "repositoryToScan": "${{ github.repository }}", "prToScan": "${{ github.head_ref || github.ref_name }}" }'
inputs: '{ "pathsToScan": ${{ steps.getdirs2scan.outputs.dirs }}, "repositoryToScan": "${{ github.repository }}", "prToScan": "${{ github.head_ref || github.ref_name }}" }'
ref: 'main'
wait-for-completion: true
wait-for-completion-timeout: 120m
Expand Down
Empty file.
5 changes: 4 additions & 1 deletion tools/codeScan/gitDiffAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ def analyze_paths(changed_files, nested_folders):
# Skip files ending with '.md'
if file_path.endswith('.md'):
continue
if file_path.beginswith('.github'):
continue

path_parts = file_path.split('/')
top_level_folder = path_parts[0]
Expand Down Expand Up @@ -52,7 +54,8 @@ def main():
changed_files = fetch_changed_files()
unique_folders = analyze_paths(changed_files, nested_folders)
output = [{"path": folder, "app": get_app_version(folder)} for folder in unique_folders]
print(json.dumps(output))
escaped_output = json.dumps(output)
print(json.dumps(escaped_output))
except Exception as e:
print(str(e))

Expand Down