Comments (12)
For the record, after switching the tests to CircleCI instead of one Github Action, it is working like a charm.
from autosquash.
Yes workflows can be scheduled. You could also try adding:
autosquash/.github/workflows/autosquash.yml
Lines 30 to 36 in 3ded0d9
at the end of your existing GitHub CI workflow.
from autosquash.
Seems related to #22 (comment) since your PR status is blocked
too. You can set the ACTIONS_STEP_DEBUG
secret to true
in your repo and try to reproduce the issue to get more details about what event triggered the action and in which state your PR was at that time.
from autosquash.
In fact the issue is that checks created by GitHub Actions will not trigger workflows so Autosquash doesn't rerun after your build
action.
from autosquash.
Thanks for the feedback. I'm watching the answer as you are. Feel free to close this issue if you want.
from autosquash.
hi! does this mean, currently the branches marked as "autosquash" aren't merged after the checks are green? thats a bummer...
from autosquash.
Depends how your checks became green.
- If it was triggered by a GitHub Action, the Autosquash workflow won't execute as explained in #25 (comment).
- If it was triggered by an external action such as a successful CircleCI/Travis CI workflow, then the Autosquash workflow will execute as confirmed in #25 (comment).
from autosquash.
one of my checks is a github workflow (a ci pipeline). I wanted to merge as soon as all checks (including that one) are green.
from autosquash.
would it be possible to run the autosquash action on a schedule to come around that for now?
from autosquash.
thanks @tibdex ! But when I run it on a schedule, I get this totally different error:
##[error]Cannot destructure property `name` of 'undefined' or 'null'.
So I'd guess you extract some information from the github event that isn't there on a schedule obviously. The github_token I have already set, but I think I doesn't help the situation, that another gh action marks green.
from autosquash.
totally overread that I should add that to the existing workflow! Makes sense, will try. Still think handling schedule-events would make sense.
from autosquash.
You can use https://github.com/marketplace/actions/github-app-token as an often better workaround to secrets.GITHUB_TOKEN
's limitations than a personal access token.
from autosquash.
Related Issues (19)
- Auto-delete branch after merge HOT 1
- [Question] What's AUTOSQUASH_TOKEN ? HOT 2
- [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 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.