Skip to content

Commit

Permalink
Trying to fix config upload issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Johanna Ahlskog committed Sep 26, 2023
1 parent fb3ae64 commit c37d1ed
Show file tree
Hide file tree
Showing 46 changed files with 65,026 additions and 290 deletions.
33 changes: 7 additions & 26 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,11 @@ permissions:
pages: write
id-token: write

#env:
# configFile: '${{ github.workspace }}/cydigConfig.json'
# disableWarningUsersInProd: false
# threatModelingDate: 'casd'
# threatModelingTag: 'dsad'
# pentestDate: ''
# pentestTag: ''
# scaTool: ''
# sastTool: ''
# codeQualityTool: ''
# nameOfBoard: ''
# mendValues.mendUserKey: ''
# mendValues.mendProjectName: ''
# mendValues.mendProductToken: ''
# mendValues.mendDomain: ''
# sonarQubeValues.sonarQubeProjectKey: ''
# sonarQubeValues.sonarQubeUserKey: ''
# sonarQubeValues.sonarQubeDomain: ''
env:
urlUpdate: ${{ vars.URLUPDATECOMPLIANCESTATE }}
urlRead: ${{ vars.URLREADTOREADME }}
urlDashboard: ${{ vars.URLDASHBOARD }}
readToReadMeKeyAcessKey: ${{ secrets.READTOREADMEACCESSKEY }}

on: [push]
jobs:
Expand All @@ -34,15 +21,9 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3

- name: Update URL variables
- name: test
run: |
(Get-Content '${{ github.workspace }}/src/config.json') | Foreach-Object {
$_ -replace '###urlupdate###', '${{vars.URLUPDATECOMPLIANCESTATE}}' `
-replace '###urlread###', '${{vars.URLREADTOREADME}}' `
-replace '###urldashboard###', '${{vars.URLDASHBOARD}}' `
-replace '###readtoreadmeaccesskey###', '${{secrets.READTOREADMEACCESSKEY}}' `
} | Set-Content '${{ github.workspace }}/config.json'
echo 'test'
shell: pwsh

- name: Install dependencies
Expand Down
3 changes: 1 addition & 2 deletions dist/lib/ComplianceStateService.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lib/ComplianceStateService.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions dist/lib/UrlBuilder.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lib/UrlBuilder.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions node_modules/eslint-scope/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 64 additions & 0 deletions node_modules/prettier/bin-prettier.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c37d1ed

Please sign in to comment.