-
Notifications
You must be signed in to change notification settings - Fork 259
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
After update to 0.9.0: The ssh-private-key argument is empty ... #207
Comments
I'm having this problem when upgrading from 0.7.0 to 0.8.0. v0.7.0 worked just fine
config:
I wanted to bisect the action to check the commit that broke the functionality for us, but if this also happen between 0.8 and 0.9 then I'm thinking that there is something else edit: it worked after cleared all the action caches |
Another reason is that the action may be after steps:
- uses: actions/checkout@v4
- uses: webfactory/[email protected]
+ uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SOME_KEY }}
+ uses: actions/checkout@v4 |
I have the same problem. |
I can confirm this is still randomly happening. Unable to replicate |
I'm running into this problem as well and am out of ideas. I do not have anything cached. |
Running into this after updating from 0.8.0 -> 0.9.0. Clearing my Actions cache didn't resolve. Moving the |
Well, turns out, like others have said, that this isn't a catch-all fix. I applied this fix on another repo, then updated Edit/update: I poked around the open Pull Requests here and came across this change to index.js, which seems to imply - name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.MY_KEY }} ...changing to this resolved those: - name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.MY_KEY }} We'll see if that's a consistent workaround... |
Not in my case :( Just got a random failure |
TIL: There is a separate section in the GitHub UI for "Dependabot secrets", any workflow on a PR created by Dependabot does not have access to "regular" secrets. 🙈 |
With the update of ssh-agent from 0.8.0 to 0.9.0, we are seeing
The ssh-private-key argument is empty. Maybe the secret has not been configured, or you are using a wrong secret name in your workflow file.
in all of our repositories.Before the update, everything worked fine. We are not using any cross-repository actions and the secret surely is configured.
The text was updated successfully, but these errors were encountered: