Skip to content

Basic Tests

Basic Tests #1549

Workflow file for this run

name: Basic Tests
on:
workflow_dispatch:
# permissions:
# contents: read
jobs:
overwrite:
if: always()
runs-on: ARMLinuxRunner
steps:
- uses: step-security/harden-runner@rc
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: step-security/harden-runner@rc
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: step-security/harden-runner@rc
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