Skip to content

GHA: enable the stale action to delete its saved state#132

Merged
thozza merged 1 commit intoosbuild:mainfrom
thozza:fix-stale-action
Jun 18, 2025
Merged

GHA: enable the stale action to delete its saved state#132
thozza merged 1 commit intoosbuild:mainfrom
thozza:fix-stale-action

Conversation

@thozza
Copy link
Member

@thozza thozza commented Jun 18, 2025

It turns out that the stale action is not able to delete its saved state due to missing permissions. As a result, it was not processing issues and PRs, that have been processed once, for almost a month.

The error in the job log was:

Warning: Error delete _state: [403] Resource not accessible by integration

The fix is to add actions: write to the action permissions

It turns out that the stale action is not able to delete its saved
state due to missing permissions. As a result, it was not processing
issues and PRs, that have been processed once, for almost a month.

The error in the job log was:
```
Warning: Error delete _state: [403] Resource not accessible by integration
```

The fix is to add `actions: write` to the action permissions

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
@thozza thozza merged commit 650663b into osbuild:main Jun 18, 2025
7 of 10 checks passed
@thozza thozza deleted the fix-stale-action branch June 18, 2025 11:41
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