-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (28 loc) · 887 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
on:
workflow_dispatch:
jobs:
veracode-sandbox-task:
runs-on: ubuntu-latest
name: Clean 2 Sandboxes
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Test Sandbox Cleaning - no sandbox
env:
VERACODE_API_ID: '${{ secrets.VERACODE_API_ID }}'
VERACODE_API_SECRET: '${{ secrets.VERACODE_API_SECRET }}'
uses: ./
with:
activity: "clean"
app-name: "test-delete-sandboxes"
clean-amount: "2"
clean-modified-before: "600"
- name: Test Sandbox Cleaning - single sandbox
env:
VERACODE_API_ID: '${{ secrets.VERACODE_API_ID }}'
VERACODE_API_SECRET: '${{ secrets.VERACODE_API_SECRET }}'
uses: ./
with:
activity: "clean"
app-name: "test-delete-sandboxes"
clean-amount: "1"