concourse / concourse/git-resource

Feature Request: Ignore Branch

Open
#348 0 comments 5 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.