jenkinsci / jenkinsci/scm-api-plugin
[JENKINS-64895] Cannot filter GitHub Pull Request jobs by title/description
- Dominant language
- Java
- Stars
- 33
- Forks
- 87
- PR merge metrics
- No merged PRs in 30d
Description
I am using GitHub branch source plugin to build pull requests, which internally uses SCM API plugin to apply filters by name. However, the filter works only for Pull Request name, which is not helpful as the name is an auto-generated number created by GitHub.
The real benefit in case of a Pull Request would come if it supports filter by title or description e.g. If Pull Request title or description contains a specific word like "automated" then skip the build.
Is there a way this can be achieved ?
---
Originally reported by richmond, imported from: Cannot filter GitHub Pull Request jobs by title/description
Raw content of original issue
I am using GitHub branch source plugin to build pull requests, which internally uses SCM API plugin to apply filters by name. However, the filter works only for Pull Request name, which is not helpful as the name is an auto-generated number created by GitHub.
The real benefit in case of a Pull Request would come if it supports filter by title or description e.g. If Pull Request title or description contains a specific word like "automated" then skip the build.
Is there a way this can be achieved ?
environment
```
Jenkins LTS 2.263.2
GitHub Branch Source v2.9.0
SCM API Plugin 2.6.4
```
1 attachment
- [GitHub Branch Source filter configuration.png](https://issues.jenkins.io/secure/attachment/54016/GitHub%20Branch%20Source%20filter%20configuration.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.