-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (42 loc) · 1.42 KB
/
Copy pathdeveloper-enablement.yml
File metadata and controls
51 lines (42 loc) · 1.42 KB
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
42
43
44
45
46
47
48
49
50
51
name: Developer Enablement
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
permissions:
contents: read
concurrency:
group: developer-enablement-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
developer-enablement:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
# actions/checkout v4.2.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# actions/setup-python v5.6.0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip==25.1.1
python -m pip install -e ".[dev]"
- name: Enablement tests
run: pytest tests/security/test_developer_enablement.py -q
- name: Developer enablement workflow
run: make developer-enablement-full
- name: Upload developer enablement artifacts
# actions/upload-artifact v4.6.2
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: developer-enablement
path: |
outputs/security/developer-enablement/
reports/security/developer-*.md
reports/security/pull-request-security-report.md
reports/security/security-tooling-readiness-report.md
retention-days: 14