A Concourse resource to manipulate Github Issues
You can find the resource on dockerhub
Your pipeline should include a source block like:
auth_method: "app" or "token". Defaults to token if not specified
access_token: a personal Github access token. Required if auth method == app
app_id: a Github application ID. Required if auth method == app
app_installation_id: a Github application installation ID. Required if auth_method == app
private_ssh_key: The complete application RSA key generated for a Github application. Required if auth_method == app
repository: Github repo in which to detect / create issues
issue_state: One of "open" or "closed". Defaults to "closed"
issue_prefix: prefix issue titles must contain to match
labels: labels required to match
assignees: optional assignees list to use when creating issues
You can find example pipeline definitions for:
- Token:
project, read:org, repo
- Application Installation:
Repository->Contents->Read and Write
,Respository->Issues->Read and Write
,Repository->Metadata->Read-only
andRepository->Pull requests->Read and Write
Documentation on setting up a personal access token can be found here Documentation on setting up a github application can be found here, here and here
With Docker:
docker build --platform=linux/amd64 .
With Earthly:
On Apple Silicon, first follow instructions here
earthly --platform=linux/amd64 +build
poetry install
poetry run python3 -m concoursetools . -r concourse.py
check < payload.json