Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 901f21f

Browse files
committedFeb 7, 2022
Add timeout and vendor in uni. agent
1 parent c9bfb1b commit 901f21f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
 

‎.github/workflows/whitesource.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
WhiteSource-Unified-Agent:
99
runs-on: ubuntu-latest
10+
timeout-minutes: 20
1011

1112
strategy:
1213
fail-fast: false
@@ -19,6 +20,13 @@ jobs:
1920
with:
2021
persist-credentials: false
2122

23+
- name: Configure AWS Credentials
24+
uses: aws-actions/configure-aws-credentials@v1
25+
with:
26+
aws-access-key-id: ${{ secrets.AWS_C2FO_GITHUB_ACTIONS_KEY }}
27+
aws-secret-access-key: ${{ secrets.AWS_C2FO_GITHUB_ACTIONS_SECRET }}
28+
aws-region: us-west-2
29+
2230
- name: Set up Node.js ${{ matrix.node-version }}
2331
uses: actions/setup-node@v1
2432
with:
@@ -41,6 +49,6 @@ jobs:
4149
WS_PRODUCTNAME: GH_${{github.event.repository.name}}
4250
WS_PROJECTNAME: GH_${{github.event.repository.name}}
4351
run: |
44-
curl -LJO https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
52+
aws s3api get-object --bucket secops-approved-libraries --key whitesource/wss-unified-agent.jar ./wss-unified-agent.jar
4553
echo Unified Agent downloaded successfully
4654
java -jar wss-unified-agent.jar

0 commit comments

Comments
 (0)