concourse / concourse/git-resource
Feature Request: Ignore Branch
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 203
- Forks
- 305
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 2
Description
So the idea behind this is that the pipeline will run for any branch except for the one(s) specified. Then, theoretically, this can be set globally so that all pipelines are non-production by excluding the "master" branch.
Example:
resources:
- name: source-code
type: git
source:
uri: git@github.com:example/example.git
except_branch: master
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating where git-resource parses branch configuration and selects branches, then determine how an except_branch setting should interact with the example configuration. Done means the resource ignores the specified branch while continuing to run for other branches, with coverage for the master example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, shell
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100