Skip to content

Getting "Can't find 'action.yml'" even though the action exists #25205

Answered by weide-zhou
rbellamy asked this question in Actions
Discussion options

You must be logged in to vote

Hi @rbellamy ,

The default branch for action ‘ad-m/github-push-action’ is ‘master’, please specify ‘develop’ branch for the action since it’s not by default.

- name: Push changes
      uses: ad-m/github-push-action@master
      with:
        branch: develop
        github_token: ${{ secrets.GITHUB_TOKEN }}

In addition, from your attached log, it invokes actions from ‘/tmp/github-runner/_actions/ad-m/github-push-action/master’ which exists in docker container, while not on the github runner workspace.

You need to exit the docker and then start your change push.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants