Skip to content

Merge pull request #1244 from zapbot/add-on-release #706

Merge pull request #1244 from zapbot/add-on-release

Merge pull request #1244 from zapbot/add-on-release #706

name: Handle Release
on:
workflow_dispatch:
push:
branches:
- master
paths:
- ZapVersions*.xml
jobs:
handle-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: zap-admin
fetch-depth: 10
- name: Checkout zaproxy-website
uses: actions/checkout@v4
with:
repository: zaproxy/zaproxy-website
persist-credentials: false
path: zaproxy-website
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Handle Release
run: cd zap-admin && ./gradlew handleRelease
env:
ZAPBOT_TOKEN: ${{ secrets.ZAPBOT_TOKEN }}