You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`.pkgmeta`: BigWigs packager metadata for release packaging.
18
20
19
21
## 🔁 CI/CD
20
22
The project uses GitHub Actions for linting and release packaging.
21
23
22
-
### Workflow (`.github/workflows/release.yml`)
23
-
-**Push to `main`:** Runs `luacheck` on all Lua files via `nebularg/actions-luacheck@v1`.
24
-
-**Push a `v*` tag:** Runs luacheck, then runs `BigWigsMods/packager@v2` which creates a GitHub Release with the addon zip attached. Uses the built-in `GITHUB_TOKEN` — no additional secrets required.
24
+
### Workflows
25
+
Two separate workflow files handle CI and releases:
26
+
27
+
**`.github/workflows/ci.yml`** — triggers on push to `main` and on all pull requests:
28
+
- Runs `luacheck` on all Lua files via `nebularg/actions-luacheck@v1`.
29
+
30
+
**`.github/workflows/release.yml`** — triggers on `v*` tag push only:
31
+
- Runs luacheck as a gate, then runs `BigWigsMods/packager@v2` to package the addon and create a GitHub Release with the zip attached.
32
+
- Uses `permissions: contents: write` so the built-in `GITHUB_TOKEN` can publish releases — no additional secrets required.
0 commit comments