-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependabot PRs fail #1428
Labels
Comments
Thanks Joe - seems like that fixed it? |
I don't think so.
I replicated (actually superclassed) the Dependabot PR as my own.
AFter my PR was merged, Dependabot was smart enough to recognize that it no
longer needed to bump rack, so it closed its own PR.
But I think we'll see the same issue the next time there's a Dependabot PR.
It's not a big problem. And it's probably easier to just keep doing this
than to update our encryption and secrets -- which might not work.
…On Thu, Mar 16, 2023 at 11:59 AM andrew nimmo ***@***.***> wrote:
Thanks Joe - seems like that fixed it?
—
Reply to this email directly, view it on GitHub
<#1428 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALDFA7USZKBQEHQODBP63W4NPIRANCNFSM6AAAAAAV5FK2OE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Will adding a |
No idea, but it seems like it’s worth a try.
If it’s about encryption it probably isn’t finding a master.key, so it sounds like the dependabot.yml needs to have the master.key hardcoded.
I just found this, it may help.
dependabot/dependabot-core#5464
… On Jan 5, 2024, at 3:07 PM, Joseph D. Cohen ***@***.***> wrote:
Will adding a .github/dependabot.yml file fix the problem?
See https://github.com/rails/rails/pull/50508/files <https://github.com/rails/rails/pull/50508/files>
—
Reply to this email directly, view it on GitHub <#1428 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAO3TP37ST3RQP3OIHERJO3YNCBUFAVCNFSM6AAAAAAV5FK2OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGM3DGOBUGU>.
You are receiving this because you commented.
|
Re: previous link. It seems GitHub CI has a page for “Dependabot Secrets”
That’s where we probably need to add it.
… On Jan 5, 2024, at 3:52 PM, nimmo ***@***.***> wrote:
No idea, but it seems like it’s worth a try.
If it’s about encryption it probably isn’t finding a master.key, so it sounds like the dependabot.yml needs to have the master.key hardcoded.
I just found this, it may help.
dependabot/dependabot-core#5464 <dependabot/dependabot-core#5464>
> On Jan 5, 2024, at 3:07 PM, Joseph D. Cohen ***@***.***> wrote:
>
>
> Will adding a .github/dependabot.yml file fix the problem?
> See https://github.com/rails/rails/pull/50508/files <https://github.com/rails/rails/pull/50508/files>
> —
> Reply to this email directly, view it on GitHub <#1428 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAO3TP37ST3RQP3OIHERJO3YNCBUFAVCNFSM6AAAAAAV5FK2OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGM3DGOBUGU>.
> You are receiving this because you commented.
>
|
I just added the master key, using the same name as in Secrets/Actions/"Repository Secrets” — RAILS_MASTER_KEY.
This may be all we need, but I didn’t read the whole thread. I don’t know if the name matters.
The thread author says "I've adapted all my Actions to call dependabot secrets”, presumably instead of Actions secrets?
… On Jan 5, 2024, at 4:06 PM, nimmo ***@***.***> wrote:
Re: previous link. It seems GitHub CI has a page for “Dependabot Secrets”
That’s where we probably need to add it.
<185335811-18c9534c-b46b-402c-8b38-0aca9025302c.png>
> On Jan 5, 2024, at 3:52 PM, nimmo ***@***.*** ***@***.***>> wrote:
>
> No idea, but it seems like it’s worth a try.
> If it’s about encryption it probably isn’t finding a master.key, so it sounds like the dependabot.yml needs to have the master.key hardcoded.
>
> I just found this, it may help.
> dependabot/dependabot-core#5464 <dependabot/dependabot-core#5464>
>
>> On Jan 5, 2024, at 3:07 PM, Joseph D. Cohen ***@***.*** ***@***.***>> wrote:
>>
>>
>> Will adding a .github/dependabot.yml file fix the problem?
>> See https://github.com/rails/rails/pull/50508/files <https://github.com/rails/rails/pull/50508/files>
>> —
>> Reply to this email directly, view it on GitHub <#1428 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAO3TP37ST3RQP3OIHERJO3YNCBUFAVCNFSM6AAAAAAV5FK2OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGM3DGOBUGU>.
>> You are receiving this because you commented.
>>
>
|
To be clear, I added the key to Secrets/Dependabot/“Repository Secrets”
More on the pros and cons of doing this:
web-platform-tests/wpt.fyi#2928
https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
… On Jan 5, 2024, at 4:12 PM, nimmo ***@***.***> wrote:
I just added the master key, using the same name as in Secrets/Actions/"Repository Secrets” — RAILS_MASTER_KEY.
This may be all we need, but I didn’t read the whole thread. I don’t know if the name matters.
The thread author says "I've adapted all my Actions to call dependabot secrets”, presumably instead of Actions secrets?
> On Jan 5, 2024, at 4:06 PM, nimmo ***@***.*** ***@***.***>> wrote:
>
> Re: previous link. It seems GitHub CI has a page for “Dependabot Secrets”
>
> That’s where we probably need to add it.
>
> <185335811-18c9534c-b46b-402c-8b38-0aca9025302c.png>
>
>> On Jan 5, 2024, at 3:52 PM, nimmo ***@***.*** ***@***.***>> wrote:
>>
>> No idea, but it seems like it’s worth a try.
>> If it’s about encryption it probably isn’t finding a master.key, so it sounds like the dependabot.yml needs to have the master.key hardcoded.
>>
>> I just found this, it may help.
>> dependabot/dependabot-core#5464 <dependabot/dependabot-core#5464>
>>
>>> On Jan 5, 2024, at 3:07 PM, Joseph D. Cohen ***@***.*** ***@***.***>> wrote:
>>>
>>>
>>> Will adding a .github/dependabot.yml file fix the problem?
>>> See https://github.com/rails/rails/pull/50508/files <https://github.com/rails/rails/pull/50508/files>
>>> —
>>> Reply to this email directly, view it on GitHub <#1428 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAO3TP37ST3RQP3OIHERJO3YNCBUFAVCNFSM6AAAAAAV5FK2OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGM3DGOBUGU>.
>>> You are receiving this because you commented.
>>>
>>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Automated Dependabot PRs have been failing for a while with encryption errors. Example: #1427.
The same PRs work fine when I replicate them.
It would be nice if we could fix things so that the automated PRs passed.
This would let us simply merge the automated PRs instead of replicating them.
I Googled the problem with no useful results.
ChatGPT says:
As of 2024-08-19, we get a different failure message:
I hope I fixed that #2323, but the fix may not take effect until
bundle install
changes Gemfile.lock:See https://github.com/MushroomObserver/mushroom-observer/actions/runs/10458112849/job/28965873623?pr=2321
The text was updated successfully, but these errors were encountered: