From edd1cfca67d7bbc3fb8375b15e0abd7b20624bb2 Mon Sep 17 00:00:00 2001 From: ricekot Date: Tue, 10 Oct 2023 17:37:08 +0530 Subject: [PATCH] Replace `hub` with `gh` in workflows Signed-off-by: ricekot --- .github/workflows/alert-docs.yml | 2 +- .github/workflows/event-docs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/alert-docs.yml b/.github/workflows/alert-docs.yml index 49fbb33f..395b3a06 100644 --- a/.github/workflows/alert-docs.yml +++ b/.github/workflows/alert-docs.yml @@ -39,5 +39,5 @@ jobs: git remote set-url origin https://$GITHUB_USER:$GITHUB_TOKEN@github.com/$GITHUB_USER/zaproxy-website.git git commit -m "Update alert pages" --signoff git push --set-upstream origin update-alerts --force - hub pull-request -b zaproxy:main --no-edit + gh pr create -R zaproxy/zaproxy-website -f fi \ No newline at end of file diff --git a/.github/workflows/event-docs.yml b/.github/workflows/event-docs.yml index 7e78b337..faf2f5af 100644 --- a/.github/workflows/event-docs.yml +++ b/.github/workflows/event-docs.yml @@ -36,4 +36,4 @@ jobs: git add site/data/events.yaml git commit -m "Update events page" --signoff git push --set-upstream origin update-events --force - hub pull-request -b zaproxy:main --no-edit + gh pr create -R zaproxy/zaproxy-website -f