Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-18200

[skip ci] (or alternatives) not working for pull-requests

    XMLWordPrintable

Details

    Description

      Hi there,

      I've been able to skip CI using [skip ci] when pushing to a master branch. Unfortunately, I haven't when pushing commits (including [skip ci]) to a PR though (pipeline is triggered).

      Am I doing anything wrong?

      This is my bitbucket-pipelines.yml:

      image: python:3.6-alpine
      
      pipelines:
        pull-requests:
          '*/*':
            - step:
                name: (make) test, build and publish qa artifacts
                deployment: staging
                caches:
                  - pip
                script:
                  - pip install --upgrade pip virtualenv
                  - apk add --no-cache git make bash
                  - NEXUS_USER=$NEXUS_USER NEXUS_PASSWORD=$NEXUS_PASSWORD make qa deploy
        branches:
          master:
            - step:
                name: (make) test, build and publish prod artifacts and tag git repo
                deployment: production
                caches:
                  - pip
                script:
                  - pip install --upgrade pip virtualenv
                  - apk add --no-cache git make bash
                  - NEXUS_USER=$NEXUS_USER NEXUS_PASSWORD=$NEXUS_PASSWORD make prod deploy tag
                  - git push --tags
      

      Thanks in advance,
      Mario

      Attachments

        Activity

          People

            Unassigned Unassigned
            6d57cce4d060 Mario Fernández Martínez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: