Skip to content

New automated PR checking out wrong commit #1360

Closed

Description

@nschonni

Opening an issue to track this, since the discussion is spread around various PRs that are trying to fix this.

/cc @ttshivers

Activity

  1. nschonni commented on Oct 8, 2020

    @nschonni
    MemberAuthor

    Looks like the upstream issue actions/checkout#299

    @ttshivers was this one of the ones you tried already? actions/checkout#299 (comment)

  2. nschonni commented on Oct 8, 2020

    @nschonni
    MemberAuthor

    Just tracking the issues and previous attempts that have disucssions spread across them:

    Think the next thing to try is ref: ${{ github.event.pull_request.head.sha }} from the actions/checkout issue

  3. ttshivers commented on Oct 8, 2020

    @ttshivers
    Member

    It appears that the actions lag behind. If you change the action in a PR and then merge it, the old action gets run.

    The last merge successfully updated the official-images PR but did not run the new context dump.

  4. nschonni commented on Oct 8, 2020

    @nschonni
    MemberAuthor

    I can't tell if it's using the right commit or not https://github.com/nodejs/docker-node/actions?query=workflow%3A%22Create+official+images+PR%22
    Can you rebase the 14.13.1 PR so we can test to see if it affects beyond the action file?

  5. nschonni commented on Oct 23, 2020

    @nschonni
    MemberAuthor

    Closing as I think we worked this out with some trial and error due to the nature of pull_request_trigger being on PR behind for changes to that file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions