Skip to content

Clarification about "working with any ref" changes #351

Closed
@prince-chrismc

Description

@prince-chrismc

👋 First off, thank you for this action (it's a huge help)

I was updating my repo to the latest version v8 because I wanted to take advantage of

now work with whatever ref has been checked out, without pulling or switching branches by default.

In my workflow on a pull_request event I simply use the default option with actions/checkout@v2 here

However this fails https://github.com/prince-chrismc/label-merge-conflicts-action/runs/4892752781?check_suite_focus=true#step:8:79 with fatal: You are not currently on a branch.

My use case is very similar to the example https://github.com/EndBug/add-and-commit#automated-linting just a different event 🤔

Do you have any suggestion or ideas to help me debug this issue?

Thanks in advance ❤️

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions