You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parseErr:=errors.New(".github/workflows/actions.lock: line 7: entry for actions/checkout@v4 records ref \"main\", which doesn't match its key's ref \"v4\"")
recovered, err:=newLockRecovery()(p, parseErr)
require.Error(t, err)
assert.False(t, recovered)
assert.ErrorIs(t, err, parseErr)
assert.Equal(t, parseErr.Error()+"; if you edited actions.lock by hand, restore it from version control; otherwise move it aside and run `gh actions-lock` to lock your workflows again", err.Error())