diff --git a/.github/workflows/Main for Secrets.yml b/.github/workflows/Main for Secrets.yml index 065fbbd..05e0caa 100644 --- a/.github/workflows/Main for Secrets.yml +++ b/.github/workflows/Main for Secrets.yml @@ -1,16 +1,16 @@ name: Build JS Package For Secrets on: push: - branches: [ STAGE ] + branches: [ IR-SCORE-TEST ] pull_request: - branches: [ STAGE ] + branches: [ IR-SCORE-TEST ] permissions: checks: write contents: read packages: read env: - API_URL: https://app.stage.veribom.com + API_URL: https://app.dev.veribom.com jobs: create_scan_in_IR_Portal: @@ -24,7 +24,7 @@ jobs: with: url: '${{env.API_URL}}/utilityapi/v1/scan' method: 'POST' - data: '{"api_key": "${{secrets.VB_API_KEY_STAGE}}"}' + data: '{"api_key": "${{secrets.VB_API_KEY_PROXY}}"}' - name: Parse Response id: parseResponse run: echo "scan_id=${{fromJSON(steps.createScan.outputs.response).data.scan_id}}" >> "$GITHUB_OUTPUT" @@ -40,7 +40,7 @@ jobs: id: fetchECRDetails uses: fjogeleit/http-request-action@v1.15.1 with: - url: '${{env.API_URL}}/utilityapi/v1/registry?api_key=${{secrets.VB_API_KEY_STAGE}}' + url: '${{env.API_URL}}/utilityapi/v1/registry?api_key=${{secrets.VB_API_KEY_PROXY}}' method: 'GET' - name: Decoding VB Token id: parseToken @@ -65,8 +65,8 @@ jobs: env: PSE_DEBUG_FLAG: --alsologtostderr POLICY_LOG: t - INVISIRISK_JWT_TOKEN: ${{secrets.VB_API_KEY_STAGE}} - INVISIRISK_PORTAL: https://app.stage.veribom.com/ + INVISIRISK_JWT_TOKEN: ${{secrets.VB_API_KEY_PROXY}} + INVISIRISK_PORTAL: https://app.dev.veribom.com/ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} container: image: node:18-buster