Comparing v0.1.3...v0.1.4 · github/gh-actions-lock · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: github/gh-actions-lock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.3
Choose a base ref
...
head repository: github/gh-actions-lock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.4
Choose a head ref
  • 16 commits
  • 30 files changed
  • 1 contributor

Commits on Jun 26, 2026

  1. ghapi: remove SSOURL header-capture mechanism

    SSO detection is already handled at the error-message level via
    extractFixHint in pin_summary.go, making the X-GitHub-SSO header
    capture (ssoTransport, SSOURL(), ssoMu, ssoURLRE) redundant.
    
    Removes the transport wrapper, the SSOURL() method, the struct fields,
    the run.go caller blocks, and all associated tests. The ssoFixHints()
    function and extractFixHint() remain — SSO guidance still surfaces
    when API errors contain SSO/SAML keywords.
    nodeselector committed Jun 26, 2026
    Configuration menu
    Copy the full SHA
    948e683 View commit details
    Browse the repository at this point in the history
  2. pin_summary: surface SSO fix hints inline with unresolved warnings

    The SSOURL header-capture was the only path that printed ssoFixHints()
    to the terminal. Now that it's gone, render the fix hint directly in
    renderUnresolvedWarnings when extractFixHint returns non-empty text.
    This surfaces 'gh auth refresh' guidance next to the SSO error itself,
    which is a better UX than printing it as a disconnected footer.
    nodeselector committed Jun 26, 2026
    Configuration menu
    Copy the full SHA
    6cb5d73 View commit details
    Browse the repository at this point in the history
  3. run: restore SSO fix hints in --no-fix path via report scanning

    The SSOURL header-capture removal dropped the SSO hint from --no-fix
    mode. Add reportHasSSO to scan finding Details for SSO keywords, and
    use it to surface ssoFixHints() in the --no-fix exit path. Also fix
    trailing blank lines flagged by gofmt.
    nodeselector committed Jun 26, 2026
    Configuration menu
    Copy the full SHA
    39ecdf2 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #70 from github/nodeselector-remove-dead-ssourl-code

    Remove dead SSOURL header-capture mechanism
    nodeselector authored Jun 26, 2026
    Configuration menu
    Copy the full SHA
    0c9d6b5 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2026

  1. resolve: block composite actions that use local path references

    When a remote composite action's steps contain uses: ./path, we cannot
    resolve transitive dependencies behind that local reference. Previously
    these were silently skipped (ParseActionRef returns nil for ./ prefixes),
    leaving a gap where unpinned transitive deps went undetected.
    
    Now the BFS in ResolveAllRecursive emits a CompositeLocalPathError for
    each ./path encountered in a remote composite's NestedUses. The diagnose
    layer detects this error type and surfaces a LocalAction finding at error
    severity, blocking the workflow.
    nodeselector committed Jun 29, 2026
    Configuration menu
    Copy the full SHA
    24ac87d View commit details
    Browse the repository at this point in the history
  2. Update action.yml

    nodeselector authored Jun 29, 2026
    Configuration menu
    Copy the full SHA
    6db7feb View commit details
    Browse the repository at this point in the history
  3. Merge pull request #71 from github/nodeselector-patch-3

    action(relock): drop --no-onboard
    nodeselector authored Jun 29, 2026
    Configuration menu
    Copy the full SHA
    407d277 View commit details
    Browse the repository at this point in the history
  4. relock action: emit warning annotation on inaccessible repos

    When the workflow token lacks access to a private action repository,
    the relock step now emits a ::warning:: annotation telling the user
    to run gh actions-lock locally instead of failing the entire workflow.
    This prevents Dependabot PRs from being blocked by token permission
    gaps that can only be resolved locally.
    nodeselector committed Jun 29, 2026
    Configuration menu
    Copy the full SHA
    e639675 View commit details
    Browse the repository at this point in the history
  5. scenarios: add composite_local_path_blocked test case

    Uses the nodeselector/actions-test-fixtures/composite-with-local-path
    fixture which contains a composite action with uses: ./local-helper.
    Asserts exit 1 and output mentioning local path actions and composite.
    nodeselector committed Jun 29, 2026
    Configuration menu
    Copy the full SHA
    52c84cc View commit details
    Browse the repository at this point in the history
  6. relock action: remove entirely

    The relock composite action can't work in practice — the workflow
    token (GITHUB_TOKEN) doesn't have access to private action repos
    like github/gh-actions-lock itself, so resolution always fails.
    
    See: github/actions-dispatch#768
    nodeselector committed Jun 29, 2026
    Configuration menu
    Copy the full SHA
    52272ac View commit details
    Browse the repository at this point in the history
  7. Merge pull request #72 from github/nodeselector-relock-annotation-on-…

    …error
    
    Remove relock composite action
    nodeselector authored Jun 29, 2026
    Configuration menu
    Copy the full SHA
    9e640ac View commit details
    Browse the repository at this point in the history
  8. checks: detect ref-moved on transitive deps

    The checkRefMovedAndForgery loop only iterated pw.Refs (direct workflow
    uses). Transitive deps from composite actions were already in depIndex
    but never checked for upstream drift. Extract the per-ref logic into
    checkOneRefMoved and call it for both direct refs and depIndex entries
    not already covered by a direct ref.
    nodeselector committed Jun 29, 2026
    Configuration menu
    Copy the full SHA
    85708ad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6460d34 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #73 from github/nodeselector-block-composite-local…

    …-paths
    
    Block composite local paths and detect transitive ref-moved
    nodeselector authored Jun 29, 2026
    Configuration menu
    Copy the full SHA
    f473586 View commit details
    Browse the repository at this point in the history
  11. remove hosted/self-hosted runner restrictions

    The hosted-only restriction was a temporary gate that is no longer needed.
    All runner labels (self-hosted, custom, expression, runner groups) are now
    accepted for lockfile onboarding.
    
    The --allow-runners and -A (--allow-all-runners) flags are retained as
    deprecated no-ops for backward compatibility. They will be removed in the
    next minor release.
    
    Removed:
    - Self-hosted runner detection in diagnose.go and parse.go
    - NonHostedRunner/NonHostedLabels fields from ParsedWorkflow
    - RegisterOrgHostedLabels, IsHostedRunnerLabel, NonHostedRunnerLabels,
      HasNonHostedRunnerLabels from workflowfile/runson.go
    - OrgHostedRunnerNames API client (hosted_runners.go)
    - renderSelfHostedGroup, extractBracketedLabels terminal rendering
    - SelfHostedRunner/ExpressionRunner from JSON skip filter, unfixable
      error checks, IsValid/IsWarning/NeedsAttention switch cases
    - All related tests and scenario expectations updated
    nodeselector committed Jun 29, 2026
    Configuration menu
    Copy the full SHA
    1656597 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #74 from github/nodeselector-noop-hosted-runner-flags

    Remove hosted/self-hosted runner restrictions
    nodeselector authored Jun 29, 2026
    Configuration menu
    Copy the full SHA
    5d9a23f View commit details
    Browse the repository at this point in the history
Loading