[skip ci] doesn't skip holds?

I recently learned about the “[skip ci]” “feature” that allows a committer to skip CI if they put “[skip ci]” or “[ci skip]” in their commit message. And it follows that commit through merges. I understand the desire for such a “feature”, though I am not sure it is a good idea – just because you can, doesn’t mean you should… I especially don’t like the fact that it follows merges.

But now I am noticing that it does not apply to approval type jobs, which seems weird.

Is there a way we can prevent the skip from following through a merge?

Is the fact that the skip doesn’t apply to approval jobs intentional?

Is there a way we can run a workflow that has been skipped, especially after the merge?


Could you share your config here?

I can’t really do that. Are you saying that it should apply to approval type jobs?

Here’s a small demo project with code:

version: 2
    working_directory: ~/circleci-demo-ruby-sinatra
      - image: circleci/ruby:2.4.1
          TESTOPTS: "--ci-dir=/tmp/test-results"
          APP_ENV: test
      - checkout

      # Restore bundle cache
      - type: cache-restore
        key: sinatra-demo-{{ checksum "Gemfile.lock" }}

      # Bundle install dependencies
      - run: bundle install --path vendor/bundle

      # Store bundle cache
      - type: cache-save
        key: sinatra-demo-{{ checksum "Gemfile.lock" }}
          - vendor/bundle

      # Run minitest
      - type: shell
    command: bundle exec rake

      # Save artifacts
      - type: store_test_results
    path: /tmp/test-results

  version: 2

      - wait:
          type: approval

      - build:
            - wait

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.