diff --git a/.github/workflows/alert-docs.yml b/.github/workflows/alert-docs.yml index 20a1c379..49fbb33f 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:master --no-edit + hub pull-request -b zaproxy:main --no-edit fi \ No newline at end of file diff --git a/.github/workflows/event-docs.yml b/.github/workflows/event-docs.yml index 939f28f3..7e78b337 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:master --no-edit + hub pull-request -b zaproxy:main --no-edit diff --git a/build.gradle.kts b/build.gradle.kts index 3b9f3963..527c6572 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -325,6 +325,7 @@ val updateWebsite by tasks.registering(CreatePullRequest::class) { user.set(ghUser) repo.set(websiteRepo) + baseBranchName.set("main") branchName.set("update-data") commitSummary.set("Update data")