fix(ci): repair failing Gitea Actions

This commit is contained in:
2026-06-20 17:20:26 -04:00
parent 0cf5780eb8
commit ff7c9cfb7e
2 changed files with 13 additions and 5 deletions
+10 -4
View File
@@ -21,32 +21,38 @@ jobs:
with:
path: api-company
# NOTE: cross-repo checkouts use SIBLING_REPOS_TOKEN, NOT the auto-injected
# GITEA_TOKEN. Gitea's automatic GITEA_TOKEN is scoped to THIS repo only,
# so checking out other repos fails with
# "Determining the default branch → not found". GITEA_TOKEN is also a
# reserved secret name that cannot be overridden, hence a separate secret.
# SIBLING_REPOS_TOKEN must be a PAT with read access to the API repos.
- name: Checkout zip-enrichment
uses: actions/checkout@v4
with:
repository: leeworks-agents/zip-enrichment
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.SIBLING_REPOS_TOKEN }}
path: zip-enrichment
- name: Checkout holidays
uses: actions/checkout@v4
with:
repository: leeworks-agents/holidays
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.SIBLING_REPOS_TOKEN }}
path: holidays
- name: Checkout air-quality
uses: actions/checkout@v4
with:
repository: leeworks-agents/air-quality
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.SIBLING_REPOS_TOKEN }}
path: air-quality
- name: Checkout vin-decoder
uses: actions/checkout@v4
with:
repository: leeworks-agents/vin-decoder
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.SIBLING_REPOS_TOKEN }}
path: vin-decoder
- name: Copy openapi.yaml specs into docs-site
+3 -1
View File
@@ -13,9 +13,11 @@ jobs:
- uses: actions/checkout@v4
- name: Install kustomize
# The Gitea act runner image runs as root and has no `sudo`, so install
# straight into a writable bin dir instead of `sudo mv … /usr/local/bin`.
run: |
curl -sL "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
sudo mv kustomize /usr/local/bin/
install -m 0755 kustomize /usr/local/bin/kustomize
- name: kustomize build flux/
run: kustomize build flux/ > /dev/null