From b331ac2520e56165c565c59f82ec785ba6818f52 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 4 Aug 2023 11:08:26 +0200 Subject: [PATCH] ensure that we trigger the tag workflow --- release/release.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/release/release.py b/release/release.py index 48c866ead..f8ddbb825 100755 --- a/release/release.py +++ b/release/release.py @@ -143,11 +143,10 @@ if __name__ == "__main__": check=True, ) - # We currently have to use a personal access token, which auto-triggers CI. - # The default GITHUB_TOKEN cannot push to protected branches, - # see https://github.com/community/community/discussions/13836. - # print("➡️ Dispatching release workflow...") - # subprocess.run(["gh", "workflow", "run", "main.yml", "--ref", version], cwd=root, check=True) + print("➡️ Dispatching release workflow...") + subprocess.run( + ["gh", "workflow", "run", "main.yml", "--ref", version], cwd=root, check=True + ) print("") print("✅ CI is running now.")