Add github token

This commit is contained in:
dvirlabs 2025-06-29 07:15:23 +03:00
parent 71b2a97112
commit 51c6482065
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

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