Comments (4)
Upgraded to 4.4.0 and it works 🤦
from add-and-commit.
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.
@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.
@honzajavorek I'll check the @peter-evans package, that might be exactly what I need.
Thank you 👍
from add-and-commit.
Related Issues (20)
- support pull: true option HOT 1
- How to get push working when another commit was pushed? HOT 3
- `commit_sha` returns the full SHA instead of the 7-character SHA
- Support Disabling\Enabling enforce_admins As Part of Push HOT 5
- Avoid pulling if a new branch was just created HOT 1
- Is there a dry-run input? HOT 1
- suggestion: retry push logic HOT 1
- Pre-Commit script HOT 2
- Warning: There are environment variables missing from this runtime, but would be present on GitHub HOT 4
- Warning: The set-output command is deprecated and will be disabled soon HOT 2
- "add" with array input doesn't seem to work HOT 2
- Error with repository ownership HOT 4
- Error: fatal: detected dubious ownership in repository HOT 1
- It doesn't work for me HOT 5
- Status Check war reseted after Commit HOT 6
- Fetch only one branch for performance issues HOT 4
- Node 20 support HOT 3
- False reporting of Working tree clean. Nothing to commit. HOT 3
- Use on a PR HOT 2
- Error: fatal: Cannot prompt because user interactivity has been disabled. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from add-and-commit.