-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (47 loc) · 1.28 KB
/
basic.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Basic Tests
on:
workflow_dispatch:
# permissions:
# contents: read
jobs:
overwrite:
if: always()
runs-on: ARMLinuxRunner
steps:
- uses: h0x0er/harden-runner@arm-support
with:
egress-policy: audit
- uses: actions/checkout@v3
- name: echo overwrite
run: echo "## Overwritten" >> README.md
- name: mv overwrite
run: echo "# Replaced" >> README2.md; mv README2.md README.md
egress-test:
if: always()
runs-on: ARMLinuxRunner
steps:
- uses: h0x0er/harden-runner@arm-support
with:
egress-policy: block
disable-sudo: true
allowed-endpoints: |
www.google.com:443
- uses: actions/checkout@v3
- run: curl https://www.google.com
- run: curl https://microsoft.com
disabled-telemetry:
if: always()
runs-on: ARMLinuxRunner
steps:
- uses: h0x0er/harden-runner@arm-support
with:
egress-policy: block
disable-sudo: true
disable-telemetry: true
allowed-endpoints: |
www.google.com:443
- uses: actions/checkout@v3
- run: curl https://www.google.com
- run: curl https://microsoft.com
- run: curl https://youtube.com
- run: curl https://bing.com