Skip to content

[CI] branch is not specified during checkout in e2etests #498

@kaizakin

Description

@kaizakin

Current Behavior

Currently compatibilty docs is being generated by the e2e tests but on publishing there's an issue.
There's no branch specified in checkout.

uses: actions/checkout@v4
        with:
          repository: meshery/meshery
          token: ${{ secrets.GH_ACCESS_TOKEN }}

so by default a detached HEAD is checked out and on push it fails with something like this
fatal: You are not currently on a branch.

Expected Behavior

uses: actions/checkout@v4
with:
  repository: meshery/meshery
  token: ${{ secrets.GH_ACCESS_TOKEN }}
  ref: master  

I have checked other workflows, everything except e2etests.yaml has the branch specified in checkout.

Implementation

Acceptance Tests


Contributor Guides and Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ciContinuous Integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions