ci: use GitHub Actions token instead of chatops/release_notes secrets

It seems more secure to use the controlled & limited token than an
ambient secret.
This commit is contained in:
Ran Benita
2021-05-16 11:37:21 +03:00
parent 6bc6ec323a
commit 864a2bc0a3
5 changed files with 13 additions and 12 deletions
+2 -3
View File
@@ -9,9 +9,8 @@ The appropriate version will be obtained based on the given branch automatically
After that, it will create a release using the `release` tox environment, and push a new PR.
**Secret**: currently the secret is defined in the @pytestbot account,
which the core maintainers have access to. There we created a new secret named `chatops`
with write access to the repository.
**Token**: currently the token from the GitHub Actions is used, pushed with
`pytest bot <pytestbot@gmail.com>` commit author.
"""
import argparse
import re