Skip to content

Add base functionality #3

Add base functionality

Add base functionality #3

Workflow file for this run

name: Check run
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
check-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: sudo apt-get update && sudo apt-get install -y nginx && sudo systemctl start nginx
- name: ZAP Plan
uses: ./
id: af-plan
with:
plan: 'zap/af-plan.yml'
- name: ZAP Plan with Error
uses: ./
id: af-plan-error
with:
plan: 'zap/af-plan-error.yml'
- run: exit 1
if: steps.af-plan-error.status == 'success'