Skip to content
✨ If you find this extension useful, please consider starring the GitHub repository

GitHub Local Actions

Run your GitHub Actions locally with the power of the GitHub Local Actions Visual Studio Code extension! Say goodbye to the hassle of committing and pushing changes every time you need to test a workflow. This extension lets you quickly and efficiently run your workflows locally, leveraging the nektos/act CLI tool. Enjoy a seamless experience with an interface designed to feel as familiar as the official GitHub Actions extension.

  • 🚀 Run Workflows/Jobs: Run entire workflows or specific jobs locally without leaving your editor.
  • Trigger Events: Trigger standard GitHub events to run multiple workflows.
  • 📖 View Workflow Run History: Track and investigate past workflow logs.
  • ⚙️ Manage Workflow Settings: Define secrets, variables, inputs, runners, payloads, and options for execution.

GitHub Local Actions

Why Run GitHub Actions Locally?

Ever wondered why you might want to run GitHub Actions locally? As summarized perfectly in the nektos/act documentation, there are two major advantages:

  • Fast Feedback: Developers, especially newer ones, often end up pushing unnecessary commits to their GitHub repository just to test changes in their .github/workflows files. These commit-push cycles can be easily avoided by running these workflows locally instead, allowing them to get feedback much faster.
  • 🛠️ Local Task Runner: Running workflows locally can be used to minimize repetitive tasks in your development flow. By being able to run the same actions you do on GitHub but locally, you can ensure consistency across both environments while streamlining your development process.