Comments (2)
It's explained here:
autosquash/.github/workflows/autosquash.yml
Lines 30 to 36 in 982dbef
It's a workaround until GitHub supports triggering a new workflow from another workflow run with GITHUB_TOKEN
.
You should create a personal token with repo
access and add it as a repo secret. The token name doesn't matter but it doesn't hurt to call it Autosquash
so that your future self know what it's for. You can give a different name than AUTOSQUASH_TOKEN
to the secret but then don't forget to change it too in your workflow file.
from autosquash.
Adding on to this, it would be helpful if this was mentioned in the README, as well as which permission the token needs to have.
from autosquash.
Related Issues (19)
- Auto-delete branch after merge HOT 1
- [QUESTION] Update branch with rebase HOT 2
- Autosquash not updating the PR HOT 11
- Autosquash is merging PRs even if a review is pending HOT 8
- Autosquash is appending the PR's body HOT 8
- Autosquash not triggered when the PR is validated HOT 12
- Autosquash 2.0.2 not respecting the code owner protection rule HOT 1
- Only autosquash approved PR's HOT 4
- Cryptic "##[error]Validation Failed" error message HOT 3
- AutoSquash v2 not working - ##[error]Not Found and Deprecation Error HOT 1
- Only auto-update with no auto-merge HOT 11
- Autosquash doesn't squash on PRs with a single commit HOT 5
- Only merge approved PRs with no pending comments HOT 1
- Support for custom labels? HOT 2
- Failing with 'Input required and not supplied: github_token' error HOT 4
- Follow progress on similar feature in GitHub's public roadmap HOT 4
- Can workflow_run allow the use of GITHUB_TOKEN? HOT 3
- Transient "Error: Input required and not supplied: github_token" issue on pull_request_review? HOT 6
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 autosquash.