Skip to content

feat(workflows): step 2, add reusable stale and Fabrica codegen checks - #39

Merged
synackd merged 8 commits into
seantronsen/release-400from
seantronsen/feat/workflow-ports
Oct 12, 2026
Merged

synackd merged 8 commits into
seantronsen/release-400from
seantronsen/feat/workflow-ports

Conversation

@seantronsen

Copy link
Copy Markdown
Contributor

Description

Ports two workflows duplicated across org repos into reusable workflows:

  • stale.yml: org-default actions/stale policy (35d stale / 7d close, same labels/exemptions/messages as the existing copies), all settings overridable via inputs. Callers keep the schedule.
  • lint-codegen-fabrica.yml: runs the caller's make generate-check against Fabrica built from source (version from go.mod, or fabrica-ref tag/branch/SHA). A source build is required: Fabrica stamps its version into generated code and a go run build reports dev, which is why the go run-based copies (fru-tracker, tpm-identity-service) fail on every run.

Both follow the v4.0 conventions (kebab-case inputs, SHA-pinned actions, ubuntu-slim, name: = filename). README updated with usage and all optional inputs. Validated locally with actionlint and zizmor (no findings).

Depends on #38 (seantronsen/chore/cleanup). This branch is stacked on it; merge #38 first so this diff stays limited to the two new workflows.

Fixes #36
Partially addresses #37 (codegen check; build-deb to be tracked separately)

Checklist

  • My code follows the style guidelines of this project
  • I have added/updated comments where needed
  • I have added tests that prove my fix is effective or my feature works
  • I have run make test (or equivalent) locally and all tests pass
  • I have updated the relevant documentation (CLI examples, man pages, README, other docs, etc.)
  • DCO Sign-off: All commits are signed off (git commit -s) with my real name and email
  • REUSE Compliance:
    • Each new/modified source file has SPDX copyright and license headers
    • Any non-commentable files include a <filename>.license sidecar
    • All referenced licenses are present in the LICENSES/ directory

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Dependency update
  • Build system/CI

@seantronsen
seantronsen requested a review from synackd October 5, 2026 21:07
@seantronsen seantronsen changed the title Seantronsen/feat/workflow ports v4: step 2, add more org workflows Oct 5, 2026
@seantronsen
seantronsen changed the base branch from main to seantronsen/chore/cleanup October 5, 2026 21:10
@seantronsen
seantronsen added this pull request to stack #40 October 5, 2026 21:10
@seantronsen seantronsen self-assigned this Oct 6, 2026
@synackd synackd added this to the v4 milestone Oct 7, 2026
@synackd synackd changed the title v4: step 2, add more org workflows feat(workflows): step 2, add reusable stale and Fabrica codegen checks Oct 7, 2026
Comment thread .github/workflows/lint-codegen-fabrica.yml Outdated
Comment thread .github/workflows/lint-codegen-fabrica.yml Outdated
Comment thread .github/workflows/lint-codegen-fabrica.yml
@seantronsen
seantronsen requested a review from synackd October 8, 2026 18:03
Base automatically changed from seantronsen/chore/cleanup to seantronsen/release-400 October 8, 2026 21:54
Signed-off-by: Sean Tronsen <sean.tronsen@gmail.com>
…ration

Signed-off-by: Sean Tronsen <sean.tronsen@gmail.com>
Signed-off-by: Sean Tronsen <sean.tronsen@gmail.com>
Signed-off-by: Sean Tronsen <sean.tronsen@gmail.com>
Signed-off-by: Sean Tronsen <sean.tronsen@gmail.com>
@synackd
synackd force-pushed the seantronsen/feat/workflow-ports branch from 23a6353 to e9cb5c9 Compare October 8, 2026 21:54
Signed-off-by: Sean Tronsen <sean.tronsen@gmail.com>
Signed-off-by: Sean Tronsen <sean.tronsen@gmail.com>
Comment thread .github/workflows/0-local-ci.yml Fixed
Signed-off-by: Sean Tronsen <sean.tronsen@gmail.com>
@seantronsen

Copy link
Copy Markdown
Contributor Author

bba485a

is tested by: OpenCHAMI/github-actions-testbed#5

@synackd synackd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think there are any more actionable items on this PR.

@synackd
synackd merged commit b470cbe into seantronsen/release-400 Oct 12, 2026
5 checks passed
@synackd
synackd deleted the seantronsen/feat/workflow-ports branch October 12, 2026 23:59
@seantronsen seantronsen mentioned this pull request Oct 13, 2026
14 of 17 tasks
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.

[Feature]: add actions/stale

3 participants