ci: use system python on self-hosted runners
This commit is contained in:
parent
1e6d4f17f5
commit
04653366b2
7
.github/workflows/ci-change-audit.yml
vendored
7
.github/workflows/ci-change-audit.yml
vendored
@ -59,9 +59,10 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python3 --version
|
||||
|
||||
- name: Resolve base/head commits
|
||||
id: refs
|
||||
|
||||
7
.github/workflows/sec-audit.yml
vendored
7
.github/workflows/sec-audit.yml
vendored
@ -517,9 +517,10 @@ jobs:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
|
||||
- name: Setup Python 3.11
|
||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python3 --version
|
||||
|
||||
- name: Enforce unsafe policy governance
|
||||
shell: bash
|
||||
|
||||
Loading…
Reference in New Issue
Block a user