mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
implement suggestion
This commit is contained in:
parent
b67a68d836
commit
47842ee5ea
1 changed files with 3 additions and 2 deletions
5
.github/workflows/dependencies/updater.py
vendored
5
.github/workflows/dependencies/updater.py
vendored
|
|
@ -19,11 +19,12 @@ DEPS_YAML_FILE = ".github/dependencies.yml"
|
||||||
# Dry run flag
|
# Dry run flag
|
||||||
DRY_RUN = os.environ.get("DRY_RUN", "0") == "1"
|
DRY_RUN = os.environ.get("DRY_RUN", "0") == "1"
|
||||||
# GitHub Token is needed to avoid rate limiting
|
# GitHub Token is needed to avoid rate limiting
|
||||||
GH_TOKEN = os.environ.get("GH_TOKEN", "")
|
GH_TOKEN = os.environ.get("GH_TOKEN")
|
||||||
HEADERS = {
|
HEADERS = {
|
||||||
"Authorization": f"Bearer {GH_TOKEN}",
|
|
||||||
"Accept": "application/vnd.github+json",
|
"Accept": "application/vnd.github+json",
|
||||||
}
|
}
|
||||||
|
if GH_TOKEN:
|
||||||
|
HEADERS["Authorization"] = f"Bearer {GH_TOKEN}"
|
||||||
|
|
||||||
# utils for tag comparison
|
# utils for tag comparison
|
||||||
BASEVERSION = re.compile(
|
BASEVERSION = re.compile(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue