apiVersion: action
name: write-a-readme
select:
  # github:
  #   repositories:
  #     - kjuulh/octopush-test
  #   push:
  #     pull-request:
  #       name: "write a readme"

  gitea:
    repositories:
      - kjuulh/octopush-test
    push:
      pull-request:
        name: "write a readme"

  # git:
  #   repositories:
  #     - git@git.front.kjuulh.io:kjuulh/octopush-test.git
  #   push:
  #     branch:
  #       name: "write a readme"
action:
  type: go
  entry: "main.go"