Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXUI-705: Automated Suppression Updates #3220

Merged
merged 35 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
bb4891e
EXUI-705: Configure scheduled workflow to carry out dependency check
Aug 15, 2023
e312af2
Merge branch 'master' into EXUI-705
tomxelliott Aug 15, 2023
f15948e
Merge branch 'master' into EXUI-705
tomxelliott Aug 15, 2023
cbed2c3
EXUI-705: Fix audit script after build complaint
Aug 15, 2023
a53ec28
Merge branch 'EXUI-705' of github.com:hmcts/rpx-xui-webapp into EXUI-705
Aug 15, 2023
384ae0f
EXUI-705: Revert change to script for yarn audit
Aug 15, 2023
cdc1665
Merge branch 'master' into EXUI-705
tomxelliott Aug 16, 2023
c4c4558
EXUI-705: Action dev review comments
Aug 17, 2023
121a229
Merge branch 'master' into EXUI-705
tomxelliott Aug 17, 2023
2f90ff8
EXUI-705: Add yarn install step to github action
Aug 17, 2023
948b2f9
Merge branch 'EXUI-705' of github.com:hmcts/rpx-xui-webapp into EXUI-705
Aug 17, 2023
ac021c6
EXUI-705: Fixed yaml formatting issues
Aug 17, 2023
f6a0c94
EXUI-705: Remove build step that was failing
Aug 17, 2023
3351eb4
EXUI-705: Add install step to action
Aug 17, 2023
ba72437
EXUI-705: Update node version
Aug 17, 2023
d9feec3
EXUI-705: Attempt to resolve can't find script issue
Aug 17, 2023
713e6d6
EXUI-705: Tweak script and action file
Aug 17, 2023
35b3730
EXUI-705: Print working dir to try and identify why script can't be f…
Aug 17, 2023
18d2582
EXUI-705: Break out the action sctip into build and audit tasks
Aug 17, 2023
adbed26
Merge branch 'master' into EXUI-705
tomxelliott Aug 17, 2023
498f9b0
EXUI-705: Go back to build only action
Aug 17, 2023
963a7c0
EXUI-705: Add command directly to workflow file as calling script is …
Aug 17, 2023
b6f6068
EXUI-705: Remove yarn-audit-known-issues file to test the github acti…
Aug 17, 2023
ea10c90
EXUI-705: Remove entry from yarn audit file to test it being added ba…
Aug 17, 2023
7a37d7a
EXUI-705: Revert yarn audit file
Aug 17, 2023
9bdb2b3
EXUI-705: Remove pull request option added for testing
Aug 17, 2023
9df6f0c
Merge branch 'master' into EXUI-705
tomxelliott Sep 1, 2023
5230839
EXUI-705: Setting Preview Deployment ID
tomxelliott Sep 1, 2023
e6be2f9
EXUI-705: Update code to facilitate testing
Sep 1, 2023
8f8c68b
EXUI-705: Make changes for testing
Sep 1, 2023
5af2ebb
Automated update of known-issue suppression
tomxelliott Sep 1, 2023
93b8132
EXUI-705: Revert changes after testing is completed
Sep 1, 2023
f95d5c6
Merge branch 'EXUI-705' of github.com:hmcts/rpx-xui-webapp into EXUI-705
Sep 1, 2023
75b7409
Merge branch 'master' into EXUI-705
RiteshHMCTS Sep 13, 2023
de8a124
cve
RiteshHMCTS Sep 13, 2023
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
33 changes: 33 additions & 0 deletions .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Automated update of known-issue suppression

on:
schedule:
# At 12 midnight, 7am and 5pm
- cron: "0 0,7,17 * * *"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.HMCTS_GITHUB_EXUI_APP_ID }}
private_key: ${{ secrets.HMCTS_GITHUB_EXUI_PRIVATE_KEY }}
- uses: actions/checkout@v3
with:
token: ${{ steps.generate-token.outputs.token }}
ref: master
- uses: actions/setup-node@v3
with:
node-version: 12
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn npm audit --recursive --environment production --json > yarn-audit-known-issues
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
skip_dirty_check: false
commit_message: "Automated update of known-issue suppression"
branch: master
2 changes: 1 addition & 1 deletion charts/xui-webapp/values.preview.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ nodejs:
SERVICES_CASE_JUDICIAL_API: http://rd-judicial-api-aat.service.core-compute-aat.internal
SERVICES_LOCATION_REF_API_URL: http://rd-location-ref-api-aat.service.core-compute-aat.internal
FEATURE_ACCESS_MANAGEMENT_ENABLED: true
PREVIEW_DEPLOYMENT_ID: exui-preview-deployment-3187
PREVIEW_DEPLOYMENT_ID: exui-preview-deployment-3220
keyVaults:
rpx:
secrets:
Expand Down
2 changes: 1 addition & 1 deletion yarn-audit-known-issues

Large diffs are not rendered by default.