mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-05 19:53:33 +00:00
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
name: Recurring INT tests
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 */2 * * *' # every other hour
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
int-tests:
|
|
name: int tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Harden Runner
|
|
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde
|
|
with:
|
|
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
|
|
|
- name: Canary test
|
|
uses: docker://ghcr.io/step-security/integration-test/int:latest@sha256:75bdc1c208f62a44394a2d7c2bf0104f97095e2aecb92af0ded573f4d40113c0
|
|
env:
|
|
PAT: ${{ secrets.PAT }}
|
|
canary: true
|
|
|
|
int-tls-tests:
|
|
name: int tls tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Harden Runner
|
|
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde
|
|
with:
|
|
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
|
|
|
- name: Canary test
|
|
uses: docker://ghcr.io/step-security/integration-test/int:latest@sha256:75bdc1c208f62a44394a2d7c2bf0104f97095e2aecb92af0ded573f4d40113c0
|
|
env:
|
|
PAT: ${{ secrets.PAT }}
|
|
canary-tls: true
|