Coder Social home page Coder Social logo

cancel-workflow-run's Introduction

Cancel Workflow Run

GitHub action to cancel a workflow run while in-progress

This Action uses the GitHub API to cancel the currently running workflow. Example usage:

    - name: Cancel workflow
      uses: glenthomas/cancel-workflow-run@main

The cancellation might take a few seconds to process, this is most useful when you'd like to cancel a long running build. In combination with the if statement, this allows you to cancel the build conditionally.

Contributing

We welcome contributions to improve the Cancel Action! To get started, please follow these guidelines:

  1. Fork the repository and clone it locally.
  2. Create a new branch for your changes: git checkout -b feature/your-feature-name.
  3. Install the required npm packages by running the following command:
npm install
  1. Make your changes and test them thoroughly.
  2. Build the distributable JS code by running the following command:
npm run build
  1. Commit your changes: git commit -m "Add your commit message".
  2. Push your changes to your forked repository: git push origin feature/your-feature-name.
  3. Open a pull request against the main repository's master branch.

Please ensure to provide a clear description of your changes in the pull request.

cancel-workflow-run's People

Contributors

glenthomas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.