Skip to content

Conversation

@lumirlumir
Copy link
Member

@lumirlumir lumirlumir commented Dec 15, 2025

Prerequisites checklist

What is the purpose of this pull request?

This PR follows up on eslint/css#330.

In this PR, I've ensured the auto-created release-please action triggers CI.

Problem

Currently, the auto-created PR from the release-please action does not trigger CI, as shown below:

#336

image

This can result in CI not running and may lead to issues like #308 if the check is missing.

Solution

I've used secrets.WORKFLOW_PUSH_BOT_TOKEN instead of the default secrets.GITHUB_TOKEN, following the same approach described in eslint/css#330.

Also, the permissions for contents and pull-requests are no longer necessary because secrets.WORKFLOW_PUSH_BOT_TOKEN already grants the required permissions, so I removed it.

FYI: the token input reference: https://github.com/googleapis/release-please-action?tab=readme-ov-file#action-inputs

image

Test

I've tested it in my forked repository, and it works as expected:

lumirlumir#9

  • Before: CI wasn't running
스크린샷 2025-12-15 191430
  • After: CI is running
스크린샷 2025-12-15 191842

What changes did you make? (Give an overview)

This PR follows up on eslint/css#330.

In this PR, I've ensured the auto-created release-please action triggers CI.

Related Issues

Ref: eslint/css#330

Is there anything you'd like reviewers to focus on?

N/A

@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Dec 15, 2025
@lumirlumir lumirlumir marked this pull request as ready for review December 15, 2025 10:35
@lumirlumir lumirlumir requested a review from a team as a code owner December 15, 2025 10:35
Copilot AI review requested due to automatic review settings December 15, 2025 10:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the release-please workflow to use WORKFLOW_PUSH_BOT_TOKEN instead of GITHUB_TOKEN, ensuring that CI workflows are triggered on auto-created release PRs. This follows the same approach used in the ESLint CSS repository and addresses an issue where release PRs were being created without running CI checks.

Key Changes:

  • Switched authentication token from GITHUB_TOKEN to WORKFLOW_PUSH_BOT_TOKEN for the release-please action
  • Removed the permissions block from the workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lumirlumir lumirlumir marked this pull request as draft December 15, 2025 10:53
Add permissions for id-token in release-please workflow
@lumirlumir lumirlumir marked this pull request as ready for review December 15, 2025 11:13
name: release-please

permissions:
contents: write
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

I've updated it in c36f89f.

@lumirlumir lumirlumir moved this from Needs Triage to Implementing in Triage Dec 23, 2025
Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@nzakas nzakas merged commit eb2c3b7 into main Dec 29, 2025
32 checks passed
@nzakas nzakas deleted the lumirlumir-patch-1 branch December 29, 2025 22:32
@github-project-automation github-project-automation bot moved this from Implementing to Complete in Triage Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

4 participants