Skip to content

[#2410] Removed deprecated 'GITHUB_TOKEN' env block for release-drafter v7.1.1.#2423

Merged
AlexSkrypnyk merged 2 commits intomainfrom
feature/2410-update-release-drafter
Mar 25, 2026
Merged

[#2410] Removed deprecated 'GITHUB_TOKEN' env block for release-drafter v7.1.1.#2423
AlexSkrypnyk merged 2 commits intomainfrom
feature/2410-update-release-drafter

Conversation

@AlexSkrypnyk
Copy link
Copy Markdown
Member

@AlexSkrypnyk AlexSkrypnyk commented Mar 25, 2026

Closes #2410

Summary

Updated the draft-release-notes.yml workflow to remove the deprecated env: GITHUB_TOKEN block that is no longer needed in release-drafter v7. In v7.1.1, authentication is handled via the token input which defaults to github.token, making the explicit env block redundant. The version comment on the pinned commit SHA was also updated from # v7 to # v7.1.1 for accuracy.

Changes

  • .github/workflows/draft-release-notes.yml: Removed deprecated env: GITHUB_TOKEN block and updated version comment to # v7.1.1.
  • .vortex/installer/tests/Fixtures/handler_process/_baseline/.github/workflows/draft-release-notes.yml: Updated installer snapshot baseline to reflect the same removal.

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions workflow configuration for release note generation to use the latest release-drafter action version, improving compatibility and reliability.
    • Simplified token authentication handling in the CI/CD pipeline configuration.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 25, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: f481ce30-6a48-4727-a75d-cf86c6579097

📥 Commits

Reviewing files that changed from the base of the PR and between f2fb245 and fdfa03b.

⛔ Files ignored due to path filters (1)
  • .vortex/installer/tests/Fixtures/handler_process/_baseline/.github/workflows/draft-release-notes.yml is excluded by !.vortex/installer/tests/Fixtures/**
📒 Files selected for processing (1)
  • .github/workflows/draft-release-notes.yml

Walkthrough

The .github/workflows/draft-release-notes.yml workflow file updates the release-drafter/release-drafter action reference from v7 to v7.1.1 and removes the explicit GITHUB_TOKEN environment variable declaration, relying instead on workflow permissions.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
.github/workflows/draft-release-notes.yml
Updated release-drafter action version from v7 to v7.1.1 and removed explicit GITHUB_TOKEN environment variable configuration.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Poem

🐰 A nibble here, a version bump there,
The draft release notes float through the air,
From v7 to v7.1.1 we go,
Token permissions steal the show! 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: removing the deprecated GITHUB_TOKEN env block for release-drafter v7.1.1, which directly matches the file modifications in the changeset.
Linked Issues check ✅ Passed The PR implements configuration updates for release-drafter v7.1.1 by removing deprecated GITHUB_TOKEN env usage and updating version comments, addressing the core requirement from issue #2410 to update release-drafter and its configuration.
Out of Scope Changes check ✅ Passed All changes are directly scoped to updating release-drafter workflow configuration for v7.1.1 compliance. The fixture file update is a supporting change to maintain test baseline consistency.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/2410-update-release-drafter

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

Code coverage (threshold: 90%)

  Classes: 100.00% (1/1)
  Methods: 100.00% (2/2)
  Lines:   100.00% (189/189)
Per-class coverage
Drupal\ys_demo\Plugin\Block\CounterBlock
  Methods: 100.00% ( 2/ 2)   Lines: 100.00% ( 10/ 10)

@AlexSkrypnyk

This comment has been minimized.

1 similar comment
@AlexSkrypnyk
Copy link
Copy Markdown
Member Author

Code coverage (threshold: 90%)

  Classes: 100.00% (1/1)
  Methods: 100.00% (2/2)
  Lines:   100.00% (189/189)
Per-class coverage
Drupal\ys_demo\Plugin\Block\CounterBlock
  Methods: 100.00% ( 2/ 2)   Lines: 100.00% ( 10/ 10)

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.17%. Comparing base (f2fb245) to head (fdfa03b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2423      +/-   ##
==========================================
- Coverage   79.64%   79.17%   -0.48%     
==========================================
  Files         126      119       -7     
  Lines        6761     6602     -159     
  Branches       44        0      -44     
==========================================
- Hits         5385     5227     -158     
+ Misses       1376     1375       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AlexSkrypnyk AlexSkrypnyk merged commit 21f8257 into main Mar 25, 2026
30 checks passed
@github-project-automation github-project-automation bot moved this from BACKLOG to Release queue in Vortex Mar 25, 2026
@AlexSkrypnyk AlexSkrypnyk deleted the feature/2410-update-release-drafter branch March 25, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Release queue

Development

Successfully merging this pull request may close these issues.

Update release drafter to v7 including config

1 participant