Skip to content

Conversation

@Yang-33
Copy link
Contributor

@Yang-33 Yang-33 commented Sep 18, 2025

This PR modifies the GitHub Actions workflow to use the GitHub actor ID instead of the bot name. This change helps avoid issues related to renaming the bot, ensuring that the workflow continues to function correctly even if the bot's name changes.
See renovatebot/renovate#37842.

https://api.github.com/users/renovate%5Bbot%5D

{
"login": "renovate[bot]",
"id": 29139614,
...
}

(github.event_name == 'pull_request' || github.event_name == 'merge_group')
&& env.DIFF_IS_EMPTY != 'true'
&& github.actor != 'renovate[bot]'
&& github.actor_id != '29139614'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#github-context

github.actor_id string The account ID of the person or app that triggered the initial workflow run. For example, 1234567. Note that this is different from the actor username.

though API returns integer, github actions context returns string probably.

@Yang-33 Yang-33 added this pull request to the merge queue Sep 19, 2025
github-merge-queue bot pushed a commit to line/line-bot-sdk-java that referenced this pull request Sep 19, 2025
This PR modifies the GitHub Actions workflow to use the GitHub actor ID
instead of the bot name. This change helps avoid issues related to
renaming the bot, ensuring that the workflow continues to function
correctly even if the bot's name changes.
 See renovatebot/renovate#37842.

https://api.github.com/users/renovate%5Bbot%5D
> {
>   "login": "renovate[bot]",
>   "id": 29139614,
>   ...
> }



Parent PR: line/line-bot-sdk-nodejs#1399
github-merge-queue bot pushed a commit to line/line-bot-sdk-go that referenced this pull request Sep 19, 2025
This PR modifies the GitHub Actions workflow to use the GitHub actor ID
instead of the bot name. This change helps avoid issues related to
renaming the bot, ensuring that the workflow continues to function
correctly even if the bot's name changes.
 See renovatebot/renovate#37842.

https://api.github.com/users/renovate%5Bbot%5D
> {
>   "login": "renovate[bot]",
>   "id": 29139614,
>   ...
> }



Parent PR: line/line-bot-sdk-nodejs#1399
github-merge-queue bot pushed a commit to line/line-bot-sdk-ruby that referenced this pull request Sep 19, 2025
This PR modifies the GitHub Actions workflow to use the GitHub actor ID
instead of the bot name. This change helps avoid issues related to
renaming the bot, ensuring that the workflow continues to function
correctly even if the bot's name changes.
 See renovatebot/renovate#37842.

https://api.github.com/users/renovate%5Bbot%5D
> {
>   "login": "renovate[bot]",
>   "id": 29139614,
>   ...
> }



Parent PR: line/line-bot-sdk-nodejs#1399
github-merge-queue bot pushed a commit to line/line-bot-sdk-python that referenced this pull request Sep 19, 2025
This PR modifies the GitHub Actions workflow to use the GitHub actor ID
instead of the bot name. This change helps avoid issues related to
renaming the bot, ensuring that the workflow continues to function
correctly even if the bot's name changes.
 See renovatebot/renovate#37842.

https://api.github.com/users/renovate%5Bbot%5D
> {
>   "login": "renovate[bot]",
>   "id": 29139614,
>   ...
> }



Parent PR: line/line-bot-sdk-nodejs#1399
github-merge-queue bot pushed a commit to line/line-bot-sdk-php that referenced this pull request Sep 19, 2025
This PR modifies the GitHub Actions workflow to use the GitHub actor ID
instead of the bot name. This change helps avoid issues related to
renaming the bot, ensuring that the workflow continues to function
correctly even if the bot's name changes.
 See renovatebot/renovate#37842.

https://api.github.com/users/renovate%5Bbot%5D
> {
>   "login": "renovate[bot]",
>   "id": 29139614,
>   ...
> }



Parent PR: line/line-bot-sdk-nodejs#1399
Merged via the queue into master with commit 465845e Sep 19, 2025
12 checks passed
@Yang-33 Yang-33 deleted the renovate-renaming-issue branch September 19, 2025 01:34
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.

3 participants