Skip to content

ci: add new issues and PRs to the Vstorm OSS project - #139

Merged
DEENUU1 merged 1 commit into
mainfrom
ci/add-to-oss-project
Aug 1, 2026
Merged

ci: add new issues and PRs to the Vstorm OSS project#139
DEENUU1 merged 1 commit into
mainfrom
ci/add-to-oss-project

Conversation

@DEENUU1

@DEENUU1 DEENUU1 commented Aug 1, 2026

Copy link
Copy Markdown
Member

Puts every new issue and pull request on the org-wide board so nothing lands in a
repo nobody is watching that week:

Vstorm OSS

Why an action rather than the project's own automation

GitHub's built-in Auto-add to project workflow is configured per repository,
and how many a project may have is capped by the org plan. Six repos do not fit.
actions/add-to-project does, is version-controlled, and is the same in every repo.

It is inert until a token exists

The job checks for ADD_TO_PROJECT_PAT and skips with a notice when it is absent,
rather than failing. These are public repositories — a red cross on every issue a
stranger opens is a worse first impression than a board that is briefly incomplete.
It starts working on its own the moment the secret is added; nothing to merge twice.

Setup, once at the organization: a PAT with the project scope, stored as the
org secret ADD_TO_PROJECT_PAT and shared with these repos. The workflow's own
GITHUB_TOKEN cannot be used — it has no access to organization projects.

Notes for review

  • pull_request_target is deliberate and the file explains why: fork PRs get no
    secrets under pull_request, and this job never checks out contributor code —
    no checkout, no build, no script from the PR. If that ever changes, so must the trigger.
  • permissions: {} — nothing writes through GITHUB_TOKEN.
  • The action is pinned by commit SHA, not by tag.
  • vars.DISABLE_ADD_TO_PROJECT turns it off per repo without a revert.

The org-wide board at projects/12 spans all six public repos. GitHub's built-in
auto-add is per-repository and plan-capped, so it cannot cover them; this action
can and is version-controlled with the rest of CI.

The job skips with a notice while ADD_TO_PROJECT_PAT is unset rather than
failing, so merging it cannot put a red cross on a stranger's first issue. It
starts working by itself once the secret exists.
@DEENUU1
DEENUU1 merged commit 3428d9a into main Aug 1, 2026
@DEENUU1
DEENUU1 deleted the ci/add-to-oss-project branch August 1, 2026 20:26
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants