Skip to content

Commit 91d12fa

Browse files
committed
ci: add audit workflow
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
1 parent 9c600bc commit 91d12fa

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/ci-audit.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Audit CI Self-Hosted Runners
2+
3+
on:
4+
workflow_dispatch: # trigger manual audit when necessary
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
audit-sg-hl1-ci-cpu-amd:
12+
runs-on: [self-hosted, Linux, X64, sg-hl1-ci-cpu-amd]
13+
14+
steps:
15+
- name: Audit
16+
id: audit
17+
run: |
18+
echo "Auditing self-hosted runner: ${{ runner.name }}"
19+
echo "Runner labels: ${{ runner.labels }}"
20+
echo "Runner OS: ${{ runner.os }}"
21+
echo "Runner architecture: ${{ runner.arch }}"
22+
echo "Listing /tmp directory:"
23+
ls -la /tmp

0 commit comments

Comments
 (0)