Code Monkey home page Code Monkey logo

Comments (6)

DarioRomano avatar DarioRomano commented on August 21, 2024

I'm having the same issue, and would be interested in a fix as well!

from github-push-action.

vorcigernix avatar vorcigernix commented on August 21, 2024

Same issue here

from github-push-action.

ad-m avatar ad-m commented on August 21, 2024

Your branch is ahead of 'origin/dm-action' by 1 commit.

I believe It seems to me that the information presented is not current. You would have to do "git fetch" before "git status" to get current information.

from github-push-action.

vorcigernix avatar vorcigernix commented on August 21, 2024

Git pull solved it to me.

from github-push-action.

William-Lake avatar William-Lake commented on August 21, 2024

I had the same issue today and in my case it was because I was missing the branch portion (E.g. branch: ${{ github.ref }}).

After adding it to my workflow file the issue was resolved:

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

I'm curious about whether changing branch: 'origin HEAD' to branch: ${{ github.ref }} will do the trick in your case. I imagine it should, since it looks like you're trying to push to the same branch that triggered the action and github.ref will resolve to the current branch reference.

from github-push-action.

mfouesneau avatar mfouesneau commented on August 21, 2024

Same issue. Is this solved?

from github-push-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.