Repository navigation
Closed
Labels
product / authFixes and upgrades for the Appwrite Auth / Users / Teams services.product / databasesFixes and upgrades for the Appwrite Database.product / functionsFixes and upgrades for the Appwrite Functions.product / messagingFixes and upgrades for the Appwrite Messaging.product / storageFixes and upgrades for the Appwrite Storage.product / vcsFixes and upgrades for the Appwrite VCS.
Description
Tracks PR #14288.
Plan
Goal: Tighten the permissions and security of the repo's GitHub Actions workflows and remove the duplicated e2e image setup, without changing what runs on which change. This is the first step of a wider CI cleanup.
What changes (PR #14288):
.github/workflows/codeql-analysis.ymltargetedmaster, so only the weekly cron fired; it now runs on PRs and pushes tomain.- The Docker Hub login, app image pull and compose pull were copied into five e2e jobs in
ci.yml; they move into a new.github/actions/images/action.yml. ci.ymlstops grantingpackages: writeto every job.cleanup-cache.ymldrops the dead GHCR step and the deprecatedgh-actions-cacheextension. Workflows without apermissions:block get minimal ones.- zizmor fixes: expressions in
run:moved toenv:, snippet QA actions pinned by SHA,persist-credentials: falseon checkouts, narrower app-token permissions, setup-php bumped 2.37.0 to 2.37.2. - New
Checks / Workflowsjob runs zizmor over.github(config in.github/zizmor.yml). split.yml/split-dev.ymlrequest onlycontents: writeandworkflows: write; the split app must allow both or token creation fails on the firstmainpush after merge.
Remaining steps:
- After merge, confirm the first
mainpush passes the split workflows and that CodeQL runs on PRs. - Separately fix
specs.yml, which pushes toappwrite/specswithGITHUB_TOKENand cannot write to another repository (already true before this PR). - Later steps of the CI cleanup beyond this PR.
Done when:
- PR chore(ci): tighten workflow security and dedupe e2e setup #14288 is merged and CI is green on
main - Split workflows succeed on the first
mainpush -
specs.ymltoken issue is fixed or tracked separately
Metadata
Metadata
Assignees
Labels
product / authFixes and upgrades for the Appwrite Auth / Users / Teams services.product / databasesFixes and upgrades for the Appwrite Database.product / functionsFixes and upgrades for the Appwrite Functions.product / messagingFixes and upgrades for the Appwrite Messaging.product / storageFixes and upgrades for the Appwrite Storage.product / vcsFixes and upgrades for the Appwrite VCS.
Activity