question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support [skip ci] out of box with github actions

See original GitHub issue

Pretty much every other ci/cd solution will skip running a workflow/pipeline if [skip_ci] is in the commit text.

Currently the hack for this is to add an if statement to jobs with something like "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')". However, this still runs the workflow, just not any jobs with the condition.

Please provide an out of box way for this to happen. One solution would be something like paths-ignore:

on:
  push:
    commit-ignore:
    - [skip ci]
    - [ci skip]
    - ***NO_CI***

@eseay

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:295
  • Comments:30 (2 by maintainers)

github_iconTop GitHub Comments

48reactions
mockitoguycommented, Nov 1, 2020

Really surprised this feature is not available out of the box. Please add.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CI-SKIP-ACTION - GitHub Marketplace
Since 8th February 2021 GitHub Actions supports skipping workflows out of the box. This GitHub Action is not needed anymore and will be...
Read more >
Skip CI / skip workflow documentation clarity · Issue #6162
Skip CI announcement: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/ Skip CI ...
Read more >
Skipping workflow runs
Note: Skip instructions only apply to the push and pull_request events. For example, adding [skip ci] to a commit message won't stop a...
Read more >
How to write your own custom [skip ci] on GitHub Actions ...
Five years ago, GitHub Actions was released to simplify workflows for developers and allow them to integrate the ci/cd pipeline in the same ......
Read more >
[Feature Request] Allow github actions to bypass branch ...
That's how we solved it; we have a custom dummy "CICD" github App and our workflows that make commits back to protected branches...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found