diff --git a/.github/workflows/check-pr-main.yml b/.github/workflows/check-pr-main.yml index ac6a09e..1717fcb 100644 --- a/.github/workflows/check-pr-main.yml +++ b/.github/workflows/check-pr-main.yml @@ -18,14 +18,14 @@ jobs: script: | const fs = require('fs'); const config = JSON.parse(fs.readFileSync('repos-config.json', 'utf8')); - const ALLOWED_REFS = new Set(['main']); + const ALLOWED_REFS = new Set(['main','gh-pages']); const errors = []; for (const repo of config.repos) { const ref = repo.ref || ''; const semverRegex = /^\d+\.\d+\.\d+$/; if (!ALLOWED_REFS.has(ref) && !semverRegex.test(ref)) { - errors.push(` - ${repo.name}: ref='${ref}' (expected 'main' or a release version)`); + errors.push(` - ${repo.name}: ref='${ref}' (expected 'main', 'gh-pages' or a release version)`); } } diff --git a/repos-config.json b/repos-config.json index d06789a..54a84cc 100644 --- a/repos-config.json +++ b/repos-config.json @@ -59,6 +59,12 @@ "url": "https://github.com/gardenlinux/gardenlinux-nvidia-installer", "ref": "main", "commit": "7dd97a72be5e54cd8ba2e531c32c3a56e2e07fa0" + }, + { + "name": "daily", + "url": "https://github.com/gardenlinux/daily", + "ref": "gh-pages", + "commit": "7a592fe86dc945aa78d2dd0177003ca2d94046a8" } ] } diff --git a/repos-config.local.json b/repos-config.local.json index 730076f..091df80 100644 --- a/repos-config.local.json +++ b/repos-config.local.json @@ -43,6 +43,10 @@ { "name": "gardenlinux-nvidia-installer", "url": "file://../gardenlinux-nvidia-installer" + }, + { + "name": "daily", + "url": "file://../daily" } ] }