Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commit_filter not work #407

Open
sikateweiqi opened this issue Jun 12, 2023 · 1 comment
Open

commit_filter not work #407

sikateweiqi opened this issue Jun 12, 2023 · 1 comment

Comments

@sikateweiqi
Copy link

sikateweiqi commented Jun 12, 2023

Is your feature request related to a problem? Please describe.

I write the resources as below:

  - name: bitbucket-repo
    type: git
    icon: bitbucket
    source:
      uri: xxxxxxxxxx
      private_key: |
        ((ci.bitbucket_private_key))
      branch: test
      paths:
        - file
      commit_filter:
        exclude:
          - author: "bot"

But the exclude condition doesn't work, the resources still be trigger by the author "bot".

Describe the solution you'd like

Can you help give the more detail example about commit_filter?
The configuration is very important.

Describe alternatives you've considered

No response

Additional context

No response

@KoltesDigital
Copy link

@sikateweiqi commit_filter should include or exclude commits based on the message only. They are both arrays of strings, which actually are regexps. See documentation at https://github.com/concourse/git-resource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants