-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (34 loc) · 1001 Bytes
/
test.yaml
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
33
34
35
36
37
38
39
40
41
name: Build and Test
on:
workflow_dispatch:
push:
# branches:
# - main
permissions:
contents: read
id-token: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
- name: clone guac-data
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
with:
repository: 'guacsec/guac-data'
ref: 'main'
path: 'guac-data'
- name: ingest to guac
uses: ./
continue-on-error: true
with:
# files: ./guac-data/docs
files: ./guac-data/top-dh-sboms
client-id: ${{ secrets.GUAC_CLIENT_ID }}
client-secret: ${{ secrets.GUAC_CLIENT_SECRET }}
api-addr: https://ingesttest.api.dev.kusari.cloud
token-url: https://auth.dev.kusari.cloud/oauth2/token
- name: last step
shell: bash
run: |
echo "This runs after GUAC ingestion"