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.

Self-mutation commit makes running workflows silently no-op

See original GitHub issue

On this PR: https://github.com/cdklabs/cdk-ops/pull/1815

The end result is:

  • “build” didn’t run (so I never get to see the result of my “cdk diff”)
  • What’s worse: the UI makes it look like the workflow ran successfully. So if it was doing something like running unit tests, potential failures would not be caught and I might accidentally merge a broken PR.

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
eladbcommented, Nov 22, 2021

Definitely a good idea

0reactions
github-actions[bot]commented, Jan 30, 2022

Closing this issue as it hasn’t seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the “backlog” label.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[pipelines] Self mutation deploys everything not just ... - GitHub
The update pipeline deploys changes that are made outside of the pipeline, e.g. creating a s3 bucket. this is the pipeline that got...
Read more >
Skip or cancel jobs and workflows - CircleCI
The jobs within a pipeline can be skipped on commit, or workflows can be cancelled using the auto-cancel feature. Both methods are described...
Read more >
aws-cdk/pipelines module - AWS Documentation - Amazon.com
To make the development more convenient, the self-mutation feature can be turned off temporarily, by passing selfMutation: false property, example: // Modern ...
Read more >
GitLab CI/CD `workflow` keyword
Pipelines for push events with -draft in the commit message don't run, because they ... To make the pipeline switch from branch pipelines...
Read more >
Running pre-commit in GitHub workflow on pull request
We have one pipeline that runs when a pull request in made active as it first caches the files, compares the main branch...
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