summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>2024-10-14 23:39:55 -0500
committerGitHub <noreply@github.com>2024-10-14 23:39:55 -0500
commitc8f61c866205f7ccae9e073fc07e402d675a7752 (patch)
tree39fc0b5b1589d3dcf3e66255c9c0c4d895db5cee /lib
parent507965cbc695efe8ee8a61c5a58ce5d063996b29 (diff)
downloadspack-c8f61c866205f7ccae9e073fc07e402d675a7752.tar.gz
spack-c8f61c866205f7ccae9e073fc07e402d675a7752.tar.bz2
spack-c8f61c866205f7ccae9e073fc07e402d675a7752.tar.xz
spack-c8f61c866205f7ccae9e073fc07e402d675a7752.zip
Don't require OIDC initialization for noop (#46921)
ref. https://github.com/spack/spack-infrastructure/pull/957
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/schema/ci.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/schema/ci.py b/lib/spack/spack/schema/ci.py
index 3706415e30..e616058b99 100644
--- a/lib/spack/spack/schema/ci.py
+++ b/lib/spack/spack/schema/ci.py
@@ -47,7 +47,7 @@ attributes_schema = {
"tags": {"type": "array", "items": {"type": "string"}},
"variables": {
"type": "object",
- "patternProperties": {r"[\w\d\-_\.]+": {"type": "string"}},
+ "patternProperties": {r"[\w\d\-_\.]+": {"type": ["string", "number"]}},
},
"before_script": script_schema,
"script": script_schema,