-
Notifications
You must be signed in to change notification settings - Fork 9
36 lines (35 loc) · 1.1 KB
/
regression.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
33
34
35
36
name: "Regression Testing with GitHub App token"
on:
push:
branches:
- main
jobs:
regression-test:
name: Regression Testing with GitHub App token
runs-on: ubuntu-20.04
steps:
- name: Git Checkout
uses: actions/checkout@v3
with:
path: ghas-metrics-report
- name: Get Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v2
with:
application_id: ${{ secrets.APPLICATION_ID }}
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
- name: Test Action
uses: ./ghas-metrics-report
env:
GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
with:
repo: "ghas-metrics-report"
org: "theztefan"
features: "dependabot, code-scanning, secret-scanning"
frequency: "daily"
output-format: "json, pdf, issues"
- name: upload GHAS metrics report
uses: actions/upload-artifact@v3
with:
name: ghas-metrics-report
path: ghas-metrics-report/dist/report.json