Git Product home page Git Product logo

Comments (4)

honzajavorek avatar honzajavorek commented on May 26, 2024 1

Upgraded to 4.4.0 and it works 🤦

from add-and-commit.

TomasVotruba avatar TomasVotruba commented on May 26, 2024

Hi @honzajavorek ,

I'm trying to figure out how to make pushing for pull-requests work, but struggle with remote branches/tokens. I'm new to this :)

How do you use this? Could you share link to Github Actoin file you're using it int?

from add-and-commit.

honzajavorek avatar honzajavorek commented on May 26, 2024

@TomasVotruba I'm using it here. The workflow gets triggered by cron, so it only runs on the main branch with correct credentials to push back to the repo, as the repo doesn't have any additional restrictions.

On a different repo I wanted to do a similar thing, but the repo has restrictions on who can commit and push to the main branch without reviews etc. It's here. The script gets triggered by cron, but could not push back to the main branch just like that, because the branch is protected. There I don't use this @EndBug's awesome reusable action, but peter-evans/create-pull-request, so that the script automatically creates a Pull Request with the changes. The PR then needs to be manually reviewed, approved, and merged.

from add-and-commit.

TomasVotruba avatar TomasVotruba commented on May 26, 2024

@honzajavorek I'll check the @peter-evans package, that might be exactly what I need.
Thank you 👍

from add-and-commit.

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.