ktmud opened a new pull request #11944:
URL: https://github.com/apache/incubator-superset/pull/11944


   ### SUMMARY
   
   CI has been slow recently. This PR is the latest effort in trying to 
mitigate:
   
   1. Update the Cancel Previous Run job added in #11940 to cancel future jobs 
as well.
   2. Skip dependabot branches when possible (e.g. don't run Python jobs for 
npm updates).
   3. Merge lighter actions (Prefer Typescript and License Check) into one 
workflow.
   4. Add a script to allow committers to manually cancel CI jobs in queue. 
This is useful on a busy day when the CI pipeline got clogged by continuous new 
commits to open PRs. Users have to configure 
[`GITHUB_TOKEN`](https://github.com/settings/tokens) in their env variables in 
order to use this.
   
      ```
      (superset) ➜  incubator-superset git:(manage-github-workflow) ✗ 
./scripts/cancel_github_workflows.py --help 
      Usage: cancel_github_workflows.py [OPTIONS] BRANCH_OR_PULL
    
        Cancel running or queued GitHub workflows by branch or pull request ID.
   
        By default jobs that are already running or are the latest of the branch
        or PR will not be cancelled.
    
      Options:
        --repo TEXT                     Default is apache/incubator-superset
        --event [pull_request|push|issue]
        --include-last / --no-include-last
                                        Whether to also cancel the lastest run.
        --include-running / --no-include-running
                                        Whether to also cancel running workflows
        --help                          Show this message and exit.
      ```
   
      
![Snip20201204_53](https://user-images.githubusercontent.com/335541/101233877-deabc180-366f-11eb-9669-c301e3346bd6.png)
   
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   N/A
   
   ### TEST PLAN
   
   Test locally and CI
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to