Add github token
This commit is contained in:
parent
71b2a97112
commit
51c6482065
@ -37,3 +37,6 @@ steps:
|
||||
- apk add --no-cache git curl bash
|
||||
- pip install pyyaml requests
|
||||
- python3 automation/alerts/generate_monitor_workflow.py
|
||||
environment:
|
||||
GITHUB_TOKEN:
|
||||
from_secret: GITHUB_TOKEN
|
||||
@ -7,7 +7,7 @@ REPOS = {
|
||||
"dev-tools": "https://git.dvirlabs.com/dvirlabs/dev-tools.git",
|
||||
"infra": "https://git.dvirlabs.com/dvirlabs/infra.git"
|
||||
}
|
||||
GITHUB_REPO = "git@github.com:dvirh/lab-monitor.git"
|
||||
GITHUB_REPO = f"https://{os.getenv('GITHUB_TOKEN')}@github.com/dvirh/lab-monitor.git"
|
||||
BASE_DIR = "./repos"
|
||||
WORKFLOW_FILE = "./repos/lab-monitor/.github/workflows/monitor.yml"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user