Skip to content

Commit

Permalink
Revert 508 check as its successful, try straight dpc copy of sonarqub…
Browse files Browse the repository at this point in the history
…e check
  • Loading branch information
carlpartridge committed Jan 7, 2025
1 parent 1780888 commit 6181e0d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/508_compliance_check.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
name: 508 Compliance Check

on:
push:
# schedule:
# - cron: 17 8 * * 1
# workflow_dispatch:
# inputs:
# target_host:
# description: Check where?
# required: true
# default: 'https://stage.bcda.cms.gov'
# type: choice
# options:
# - 'https://stage.bcda.cms.gov'
# - 'https://bcda.cms.gov'
schedule:
- cron: 17 8 * * 1
workflow_dispatch:
inputs:
target_host:
description: Check where?
required: true
default: 'https://stage.bcda.cms.gov'
type: choice
options:
- 'https://stage.bcda.cms.gov'
- 'https://bcda.cms.gov'

jobs:
compliance_check:
Expand All @@ -22,8 +21,7 @@ jobs:
steps:
- name: Run Axe Check
env:
# TARGET_BASE_URL: ${{ inputs.target_host }}
TARGET_BASE_URL: 'https://stage.bcda.cms.gov'
TARGET_BASE_URL: ${{ inputs.target_host }}
run: |
TARGETS_TO_SCAN="${TARGET_BASE_URL}"
TARGETS_TO_SCAN="${TARGETS_TO_SCAN} ${TARGET_BASE_URL}/guide.html"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,10 @@ jobs:
with:
args:
-Dsonar.projectKey=bcda-aco-static-site
-Dsonar.host.url=https://sonarqube.cloud.cms.gov
-Dsonar.sources=.
-Dsonar.exclusions=ops/*
-Dsonar.working.directory=./sonar_workspace
-Dsonar.branch.name=${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}
-Dsonar.projectVersion=${{ github.ref_name == 'main' && github.sha || 'branch' }}
-Dsonar.working.directory=./sonar_workspace
-Dsonar.qualitygate.wait=true
- uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down

0 comments on commit 6181e0d

Please sign in to comment.