Skip to content

jump-sdk/circleci-cancel-draft-pr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

circleci-cancel-draft-pr

An orb to check your pull request status and cancel whole CircleCI workflow which is created by commit of GitHub draft PR automatically.

The orb is a fork of artsy/skip-wip-ci. The mose part of code is base on skip-wip-ci. It just remain check-skippable-pr job only.

Usage

  1. Ensure that enable Allow Uncertified Orbs in Organization Settings.
Organization Settings > Security
  1. Create Personal API Tokens and copy the token.
User Settings > Personal API Tokens
  1. Add a envrionment variable whose Name is CIRCLE_TOKEN and Value is the token you copied.
Project > Project Settings > Environment Variables
  1. Go to GitHub, And add a token which contains repo scope.
GitHub > Settings > Developer Settings > Personal access tokens
  1. Copy GitHub Personal Access Token

  2. Back to CircleCI, And add a envrionment variable whose Name is GITHUB_TOKEN and Value is the token you just copied.

  3. Use bye-github-draft orb to your existing project, please read: Start Guide

About

The Circle CI orb which skips GitHub draft pull request automatically.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%