ensure that we trigger the tag workflow

This commit is contained in:
Maximilian Hils 2023-08-04 11:08:26 +02:00
parent 5f24e70130
commit b331ac2520
1 changed files with 4 additions and 5 deletions

View File

@ -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.")