internal-contribution-forks
internal-contribution-forks copied to clipboard
Fallback to branch protections when rulesets unavailable
Describe the bug
There's currently a known issue where EMU integrations are not allowed to create repository rulesets. We need to fallback to using branch protections until this issue is resolved.
To Reproduce
When making rulesets in an EMU org, you will be met with the following error:
{"data":{"createRepositoryRuleset":null},"errors":[{"type":"FORBIDDEN","path":["createRepositoryRuleset"],"extensions":{"saml_failure":false},"locations":[{"line":1,"column":11}],"message":"Unauthorized: As an Enterprise Managed User, you cannot access this content"}]}
Expected behavior
We need to use the old behavior of branch protections when this error occurs
Screenshots
No response
Additional context
No response
Timezone issue?
Hmm that would make sense. Looking closer, it's not random at all. PS3TrophyIsGood timestamps are all either +4 or +5 hours from the timestamps I'm trying to import from psntrophyleaders.com.
How would I go about fixing this?
This program do not have change timezone feature. Maybe you can try to change your computer timezone. After finished copy and edit trophy, you can change back to real timezone.
Changing my computer timezone did not impact the trophy timestamps.
I have the same issue
It will be a little bit difficult to fix, because some countries has DST (daylight saving) and some others had DST in the recent past (eg.: Brazil). The easy way to fix this is adding a field with timezone select to the smart copy feature, but even using this, probably sometimes people will need to select a different timezone than the "correct" one, because the problem with DST I mentioned.
@Rage4Dayz96 @HKPSN, could you please try this new build?
https://github.com/jhonathanc/PS3TrophyIsGood/suites/2791247885/artifacts/61967303
I added an "Fix hour" field to copy feature, It let's you add/remove hours from the time. Let me know if it worked for you.
Have this exact same issue. Trying to copy my own time stamps from psn leaderboard and everything is right except for the hours, they are either 1 hour apart or 2 hours. Some of the trophies will even have the correct time stamp. I even tried to type the dates in by default, but when I went to sync them to my account, some of the trophies I changed are still 1-2 hours apart from what I typed in PS3TrophyIsGood. I tried all solutions mentioned in this thread and unfortunately did not work.