Comments (3)
I think this behaviour is due to the recent v2
release of actions/checkout
. I notice you are following the master branch of checkout with actions/checkout@master
, so you are now using v2
.
I haven't completely figured out how these changes affect this action yet. Not sure if this will solve your issue, but what you could try is setting the PAT on the checkout, too.
- uses: actions/checkout@v2
with:
token: ${{ secrets.PAT }}
ref: master
from create-pull-request.
That has solved the issue, thank you very much!
from create-pull-request.
@pauleve Just to let you know that recent versions of the action have fixed this problem and it shouldn't be necessary to checkout using the PAT. The action will now correctly use the PAT passed to it to push.
- uses: actions/checkout@v2
# Make changes to pull request here
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.PAT }}
from create-pull-request.
Related Issues (20)
- Author Ignored when Token Specified HOT 1
- Action fetches working branch from target remote and results in couldn't find remote ref HOT 3
- Unable to create pull request across repositories HOT 2
- Branch 'create-pull-request/patch' no longer differs from base branch 'staging' HOT 2
- Error when running this action from an EC2 hosted runner HOT 1
- How to create a fashion website HOT 1
- PR between compare branch and base branch HOT 1
- The action behavior differently HOT 1
- Resets changes in the branch with main HOT 2
- Git config seems to be empty - Please tell me who you are. HOT 4
- feature request: add output to signal if a pr is actually created HOT 1
- Unable to create new PR from old branch HOT 1
- unable to create pull request due to cherry-picker error HOT 1
- Pass parameters to commit
- Request: Document PAT permissions requirements for machine accounts HOT 2
- `push-to-fork` won't push to sibling repos in the same network HOT 2
- add a no-verify option HOT 1
- Support commenting on a PR when closing it HOT 4
- PR is geeting auto merge HOT 1
- Commit author is `web-flow`? HOT 3
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 create-pull-request.