Skip to content

feat(FLY-2319): add release branch drift detection workflow#475

Open
Freshenext wants to merge 2 commits into
masterfrom
FLY-2319
Open

feat(FLY-2319): add release branch drift detection workflow#475
Freshenext wants to merge 2 commits into
masterfrom
FLY-2319

Conversation

@Freshenext

Copy link
Copy Markdown
Collaborator

Port the detection-only release-drift workflow from LPS (FLY-2292, rsksmart/liquidity-provider-server#987) to LBC.

  • scripts/check-release-drift.mjs: self-contained Node detector, copied byte-identical from LPS so the cross-repo copies stay in sync. Excluded from eslint (not typed project source) and prettier (kept verbatim).
  • .github/workflows/release-drift.yml: weekly schedule + PR-opened + manual dispatch; pins Node 20.15.1 to match the rest of LBC CI.
  • docs/release-drift.md: LBC-adapted adoption/usage guide, incl. note on the v2.5.0-fixes / -testnet-deploy branches matching the standard glob.
  • Keep the standard branch glob v[0-9].[0-9].[0-9]* (accept the extra branches rather than risk excluding a real release branch).
  • gitignore the generated drift-report.md / merge-status.json artifacts.

Port the detection-only release-drift workflow from LPS (FLY-2292,
rsksmart/liquidity-provider-server#987) to LBC.

- scripts/check-release-drift.mjs: self-contained Node detector, copied
  byte-identical from LPS so the cross-repo copies stay in sync. Excluded
  from eslint (not typed project source) and prettier (kept verbatim).
- .github/workflows/release-drift.yml: weekly schedule + PR-opened + manual
  dispatch; pins Node 20.15.1 to match the rest of LBC CI.
- docs/release-drift.md: LBC-adapted adoption/usage guide, incl. note on the
  v2.5.0-fixes / -testnet-deploy branches matching the standard glob.
- Keep the standard branch glob v[0-9]*.[0-9]*.[0-9]* (accept the extra
  branches rather than risk excluding a real release branch).
- gitignore the generated drift-report.md / merge-status.json artifacts.
@Freshenext Freshenext requested a review from a team as a code owner May 29, 2026 00:36
@github-actions

github-actions Bot commented May 29, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 🟢 5.8
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained⚠️ 12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Packaging⚠️ -1packaging workflow not detected
Fuzzing⚠️ 0project is not fuzzed
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Branch-Protection🟢 5branch protection is not maximal on development and all release branches
SAST🟢 8SAST tool detected but not run on all commits
actions/actions/setup-node 0a44ba7841725637a19e28fa30b79a866c81b0a6 🟢 5.4
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 45 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 9binaries present in source code
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Branch-Protection⚠️ 1branch protection is not maximal on development and all release branches
SAST🟢 9SAST tool is not run on all commits -- score normalized to 9
actions/actions/upload-artifact ea165f8d65b6e75b540449e92b4886f43607fa02 🟢 5.5
Details
CheckScoreReason
Maintained🟢 54 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 5
Code-Review🟢 8Found 8/9 approved changesets -- score normalized to 8
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 1dependency not pinned by hash detected -- score normalized to 1
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
SAST🟢 10SAST tool is run on all commits
Branch-Protection⚠️ 0branch protection not enabled on development/release branches

Scanned Files

  • .github/workflows/release-drift.yml

Comment thread scripts/check-release-drift.mjs Fixed
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