claude-memory/graph/configurations/gitea-actions-shared-composite-actions-repo-pattern-73646e.md

93 lines
3.5 KiB
Markdown

---
id: 73646e80-a640-4316-b7c6-54a4330f1b28
type: configuration
title: "Gitea Actions shared composite actions repo pattern"
tags: [gitea, ci-cd, actions, workflow, convention, docker]
importance: 0.8
confidence: 0.8
created: "2026-02-18T20:06:25.840515+00:00"
updated: "2026-03-03T21:25:30.006027+00:00"
relations:
- target: b27fb831-811e-4103-b5f1-3c36d5b1ad20
type: RELATED_TO
direction: incoming
strength: 0.85
edge_id: 09d667bd-280d-4c42-aa8e-1d5a63997ffe
- target: 7f7b08eb-5105-4e87-a0d3-4abfc3fd0f8d
type: RELATED_TO
direction: incoming
strength: 0.85
edge_id: cff48e9a-eb17-49ac-adff-5ff19e1bd3dc
- target: a2d02aea-07fd-4528-8158-f2f42a23a2dd
type: RELATED_TO
direction: incoming
strength: 0.76
edge_id: 72478c93-188b-4e69-8809-5bfd4132e5a0
- target: d75e2afd-8348-4fe6-9ea1-731604505aa6
type: RELATED_TO
direction: incoming
strength: 0.73
edge_id: a266c8b2-cf4f-404d-b93a-db4faa3bde73
- target: c4b2f42d-b443-447f-8a05-bba099e06036
type: RELATED_TO
direction: incoming
strength: 0.87
edge_id: 77d18bc3-f2e8-4e3e-a9b1-17716a44f16e
- target: deb7a7c2-fcc4-4c14-8140-9c80348c2de2
type: RELATED_TO
direction: incoming
strength: 0.79
edge_id: 4012b25e-e0f0-4844-8b4d-66b991125f57
- target: 4321bee8-105e-4fc8-b645-964d1234c966
type: RELATED_TO
direction: incoming
strength: 0.88
edge_id: b706e6ff-ffea-4fc7-8f40-5ae135c7919e
- target: 2d98e145-1de7-4ea2-8bfb-fd89c364fbcc
type: RELATED_TO
direction: incoming
strength: 0.83
edge_id: 1415b530-cb47-481b-872f-3d4f38fa1aa2
- target: 6ce2055a-b51b-45e4-8ff0-d34b385f7552
type: RELATED_TO
direction: incoming
strength: 0.82
edge_id: d617f49c-edb6-4a52-b381-300140c7b9e6
- target: 45c21973-7fae-4cf7-b247-b40a757d54b0
type: RELATED_TO
direction: incoming
strength: 0.87
edge_id: c078c5fc-c046-411b-8807-d52f1a4c399f
- target: d714936b-855b-46f0-ad85-c8bb55f743ad
type: RELATED_TO
direction: incoming
strength: 0.72
edge_id: 58e920ea-87fe-4725-b961-bd425a97edcd
- target: 436e133f-2c31-488a-9810-fb6ca5b45250
type: RELATED_TO
direction: incoming
strength: 0.77
edge_id: 9bf1b5df-ad63-4079-a7d5-83466d92ba0f
---
All CI/CD workflows across projects use shared composite actions from cal/gitea-actions repo on Gitea. This repo is PUBLIC (required for runner auth to work with REQUIRE_SIGNIN_VIEW=false).
Available actions:
- cal/gitea-actions/calver@main — generates CalVer version (YYYY.MM.BUILD) from git tags
- cal/gitea-actions/gitea-tag@main — creates git tag via Gitea API
- cal/gitea-actions/discord-notify@main — sends Discord embed notification via webhook
Workflow reference patterns:
- Local actions (cal/gitea-actions): use SHORT FORM — uses: cal/gitea-actions/calver@main
- GitHub actions (actions/checkout etc): use FULL URL — uses: https://github.com/actions/checkout@v4
This is required because DEFAULT_ACTIONS_URL=self is set in Gitea app.ini, which resolves short-form references against the local Gitea instance.
When creating a new project workflow:
1. Copy an existing docker-build.yml or deploy.yml as template
2. Use short form for cal/gitea-actions/* references
3. Use https://github.com/ prefix for all GitHub action references
4. Secrets needed: DOCKERHUB_USERNAME, DOCKERHUB_TOKEN, DISCORD_WEBHOOK (for Docker builds)
Repos using this pattern: major-domo-database, paper-dynasty-discord, paper-dynasty-database, major-domo-v2, vagabond-rpg-foundryvtt