Skip to content

crenshaw-dev/github-executor-plugin

Repository files navigation

github

  • Needs: >= v3.3
  • Image: crenshawdotdev/github-executor-plugin:latest

codecov

This is an Argo Workflows executor plugin for interacting with GitHub.

Example

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: github-example-
spec:
  entrypoint: main
  templates:
    - name: main
      plugin:
        github:
          # Use `issue` to create comments for PRs - the GitHub API considers PRs to be issues.
          issue:
            comment:
              body: "Hello, world!"
              number: "1"  # PR number, from the 
              owner: crenshaw-dev
              repo: github-executor-plugin

Prerequisites

Set up a GitHub personal access token

See GitHub's instructions to set up your token.

Then create a secret using that token.

# First, copy your token to the clipboard.
pbpaste > token
kubectl create secret generic github-token --from-file=token -n argo
rm token

How to install

Install:

kubectl apply -f github-executor-plugin-configmap.yaml

Uninstall:

kubectl delete cm github-executor-plugin 

About

Argo Workflows executor plugin to interact with GitHub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published