From e45a38e92a4c556742a7f1a258f422742b679790 Mon Sep 17 00:00:00 2001 From: Nicolas Schweitzer Date: Wed, 12 Jun 2024 15:03:15 +0200 Subject: [PATCH] test the relese schedule creation on my pages --- .github/workflows/create_release_schedule.yml | 4 +++- tasks/libs/releasing/documentation.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create_release_schedule.yml b/.github/workflows/create_release_schedule.yml index a78aec8b5e759..57252a9f4a53d 100644 --- a/.github/workflows/create_release_schedule.yml +++ b/.github/workflows/create_release_schedule.yml @@ -1,6 +1,8 @@ name: "Create release schedule on confluence" on: + pull_request: + types: [opened, synchronize, reopened, labeled, unlabeled] workflow_dispatch: inputs: version: @@ -35,4 +37,4 @@ jobs: ATLASSIAN_USERNAME : ${{ secrets.ATLASSIAN_USERNAME }} ATLASSIAN_PASSWORD : ${{ secrets.ATLASSIAN_PASSWORD }} run: | - inv -e release.create-schedule --version ${{ github.event.inputs.version }} --freeze-date ${{ github.event.inputs.freeze_date }} + inv -e release.create-schedule --version "6.4.2" --freeze-date "2024-06-01" diff --git a/tasks/libs/releasing/documentation.py b/tasks/libs/releasing/documentation.py index 7820263013046..1cff4287612cd 100644 --- a/tasks/libs/releasing/documentation.py +++ b/tasks/libs/releasing/documentation.py @@ -7,8 +7,8 @@ def create_release_page(version, freeze_date): username = os.environ['ATLASSIAN_USERNAME'] password = os.environ['ATLASSIAN_PASSWORD'] - space_key = "agent" - parent_page_id = "2244936127" + space_key = "~7120207411b2457b4944b7a314674e71629bf8" + parent_page_id = "3747743324" # Make the POST request to create the page domain = "https://datadoghq.atlassian.net/wiki" from atlassian import Confluence