Open
Description
The "Manager" achievement (from plugin_achievements) is failing because it uses the deprecated Projects (classic) API: sunset on May 23, 2024.
Error observed:
errors: [
{
'NOT_FOUND',
[ 'user', 'projects' ],
[ { line: 50, column: 5 } ],
'Projects (classic) is being deprecated in favor of the new Projects experience, see: [https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/)'
]
Reproduction steps:
- Use this workflow:
- uses: lowlighter/metrics@latest
with:
plugin_achievements: yes
- Have at least one Project V2 in your account.
- Run the action.
Proposed solution:
Code Change in plugins/achievements/list/users.mjs Manager block
Additional Context:
Impact: Affects all users with Projects V2 who enable plugin_achievements
Documentation:
Originally posted by @TonySatrem in #1705
Metadata
Metadata
Assignees
Labels
No labels
Activity
stalomeow commentedon Apr 4, 2025
Here’s a temporary fix that works for me: stalomeow/metrics@edcae0f
lishaduck commentedon Apr 6, 2025
This also breaks the org projects metrics (duh :) ).
CornWorld commentedon Apr 9, 2025
Plz fix this!
Fixes achievements
lishaduck commentedon Apr 11, 2025
Do we want to fork this? Simon is a great guy, but he's busy and I'd love to reduce the bus factor here.
I just reserved @gh-metrics just in case.
CC: @stalomeow, @lowlighter
Update metrics.yml
Fix Achievements Plugin
lishaduck commentedon Apr 14, 2025
@stalomeow, I added you to @gh-metrics.
stalomeow commentedon Apr 15, 2025
Thanks for the invitation but I'm afraid I won't have the time to help maintain the project.
lulunac27a commentedon Apr 20, 2025
I have the same problem too, all the achievements are not showing due to an error.
lishaduck commentedon Apr 20, 2025
@lulunac27a, try migrating to
gh-metrics/metrics@master
lulunac27a commentedon Apr 20, 2025
It works when I use
uses: stalomeow/metrics@projects-v2 # lowlighter/metrics@latest
mikey- commentedon May 5, 2025
@stalomeow why not submit a PR on this repo?
stalomeow commentedon May 5, 2025
The repo has not been maintained for almost two years.
8 remaining items