Skip to content

[CI] branch is not specified in checkout in e2etests #641

@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.

Desired 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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions