stale: Error delete _state: [403] Resource not accessible by integration
Description:
If a job has multiple actions/stale steps the creation of the cache fails.
Action version: 9
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Repro steps:
https://github.com/microsoft/vcpkg/blob/master/.github/workflows/stale.yml
Expected behavior: No errors.
Actual behavior: Errors. See https://github.com/microsoft/vcpkg/actions/runs/7750221792
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 19 (6 by maintainers)
Commits related to this issue
- Update stale.yml to use old version as a bug fix There is a well-documented issue w/ the new actions/stale version (v9.0.0) that causes the following error: "Error delete _state: [403] Resource not a... — committed to microsoft/onnxruntime by sophies927 3 years ago
- Update stale.yml to use old version as a bug fix (#19532) ### Description Changed the actions/stale version back to v8 from v9. ### Motivation and Context There is a well-documented issue w/... — committed to microsoft/onnxruntime by sophies927 3 years ago
- Reverted back to version 8 of stale workflow due to a bug in their caching implementation (see https://github.com/actions/stale/issues/1133). — committed to SafeExamBrowser/seb-win-refactoring by dbuechel 3 years ago
- Squashed commit of the following: commit 05ed89f46980b7e5a5328bc20af8b32ca9f1f715 Author: PeixuanZuo <94887879+PeixuanZuo@users.noreply.github.com> Date: Thu Feb 22 13:34:55 2024 +0800 [ROCm] ... — committed to intel/onnxruntime by sspintel 3 years ago
- Reverted back to version 8 of stale workflow due to a bug in their caching implementation (see https://github.com/actions/stale/issues/1133). — committed to quintenvandamme/unsafeexambrowser by dbuechel 3 years ago
- Reduce drequency of GitHub stale action, and add action write permissions The action has been producing a warning of: > Error delete _state: [403] Resource not accessible by integration That erro... — committed to dotnet/sdk by jeffhandley 3 years ago
- Fix stale action permissions Action write permissions is required to update the cache (see https://github.com/actions/stale/issues/1133) — committed to Jojo-1000/duplicati by Jojo-1000 2 years ago
- also add actions:write permission to actions/stale This is needed for cache handling with the current version. They have an issue open at https://github.com/actions/stale/issues/1133 about it. — committed to CleverRaven/Cataclysm-DDA by kevingranade 2 years ago
- also add actions:write permission to actions/stale (#75193) This is needed for cache handling with the current version. They have an issue open at https://github.com/actions/stale/issues/1133 about ... — committed to CleverRaven/Cataclysm-DDA by kevingranade 2 years ago
- actions: add "actions: write" for actions/stale temporarily Fix the cache issue. See actions/stale#1133 for details. — committed to panjf2000/gnet by panjf2000 2 years ago
- Update stale.yml work around https://github.com/actions/stale/issues/1133 — committed to jpalardy/vim-slime by jpalardy 2 years ago
- Update auto-close.yml Attempt workaround for an error that appears to have caused the auto-closing to stop working (see: https://github.com/actions/stale/issues/1133) — committed to Scirra/Construct-feature-requests by AshleyScirra 2 years ago
- Add actionw write permission to stale CI The permission is required for an issue with cache. https://github.com/actions/stale/issues/1133 — committed to dogtagpki/pki by fmarco76 2 years ago
- Update dormant.yml Reverting to v8 due to https://github.com/actions/stale/issues/1133 — committed to phw198/OutlookGoogleCalendarSync by phw198 2 years ago
- fix: grant actions/stale cache access (#1115) see https://github.com/actions/stale/issues/1133 for context This PR adds the `actions: write` permission to resolve the state cache error that occurs w... — committed to Metta-AI/metta by rjwalters a year ago
Giving
actions: writemeans the workflow has all these permissions and this is way too much, and not acceptable for a lot of projects. https://github.com/actions/cache does not require these permissions, and still manages to save a cache across builds. Could thestaleaction be refactored to use the same trick as thecacheaction ? Or could it use thecacheaction under the hood ?Granting
actions:writeto the stale workflow will allow it to manage issues cache as intended.Hello, the same error happens in here : https://github.com/conan-io/conan-center-index/actions/runs/7810903828/job/21305055330#step:2:1032
Hello @autoantwort Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.