actions / runner

The Runner for GitHub Actions :rocket:
https://github.com/features/actions
MIT License
4.64k stars 892 forks source link

Self-hosted runner does not stop after getting unregistered from github #3328

Open KlugSteven opened 2 weeks ago

KlugSteven commented 2 weeks ago

After deleting a runner via the api (DELETE https://api.github.com/orgs/frnde/actions/runners/ID), the runner does not stop. Instead, it tries to restart and displays a successful connection. The runner does not appear in the registered runner list.

In previous versions the runner stopped but now the process keeps running and displays a missleading message.

Console Log Output

# Authentication

√ Connected to GitHub

# Runner Registration

√ Runner successfully added
√ Runner connection is good

# Runner settings

√ Settings Saved.

√ Connected to GitHub

Current runner version: '2.317.0'
2024-06-10 11:03:07Z: Listening for Jobs
An error occurred: Access denied. System:ServiceIdentity;DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD needs View permissions to perform the action.
Runner listener exit with retryable error, re-launch runner in 5 seconds.
Restarting runner...

√ Connected to GitHub

2024-06-10 11:03:47Z: Runner connect error: Registration was not found or is not medium trust. ClientType: . Retrying until reconnected.

√ Connected to GitHub

√ Connected to GitHub

Runner Version and Platform

2.317.0 - Linux (X64)