aboutsummaryrefslogtreecommitdiffhomepage
path: root/.circleci/config.yml
blob: 588d3d89440385e41fb30ddef29f645ac46df53b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: 2.1
setup: true
orbs:
  continuation: circleci/continuation@1
jobs:
  setup:
    docker:
      - image: cimg/go:1.21
    steps:
      - checkout
      - run:
          command: |
            export SKIP=$(git log -n 1 $CIRCLE_SHA1 --pretty=%B | grep -q "NOCIRCLECI" && echo "true" || echo "false")
            echo "{\"skip\": $SKIP}" >> set-up-params.json
      - continuation/continue:
          parameters: set-up-params.json
          configuration_path: .circleci/build.yml

workflows:
  configure:
    when:
      and:
        - matches:
            pattern: "^release.+"
            value: << pipeline.git.branch >>
    jobs:
      - setup