mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 10:12:57 -04:00
Use BIND_TEAM_API_TOKEN for danger bot
This is done to unify the token usage across our repositories to simplify token maintenance.
This commit is contained in:
parent
b70ef5e5a4
commit
6767172bc0
2 changed files with 1 additions and 3 deletions
|
|
@ -619,8 +619,6 @@ danger:
|
|||
only:
|
||||
refs:
|
||||
- merge_requests
|
||||
variables:
|
||||
- $DANGER_GITLAB_API_TOKEN
|
||||
|
||||
checkbashisms:
|
||||
<<: *precheck_job
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ is_full_backport = is_backport and "Backport::Partial" not in mr_labels
|
|||
|
||||
gl = gitlab.Gitlab(
|
||||
url=f"https://{os.environ['CI_SERVER_HOST']}",
|
||||
private_token=os.environ["DANGER_GITLAB_API_TOKEN"],
|
||||
private_token=os.environ["BIND_TEAM_API_TOKEN"],
|
||||
)
|
||||
proj = gl.projects.get(os.environ["CI_PROJECT_ID"])
|
||||
mr = proj.mergerequests.get(os.environ["CI_MERGE_REQUEST_IID"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue