{
  "server_config": {
    "host": "0.0.0.0",
    "port": 1502,
    "path": "/webhook",
    "secret": {
      "github": "githubSecretHere",
      "custom": "customFlatSecret"
    },
    "directories": {
      "logs": "logs"
    }
  },
  "actions": [
    {
      "headers": {
        "x-try": "asyncSample"
      },
      "events": [
        {
          "event": "custom",
          "action": "echo Async use case - before sleep... && sleep 8 && echo Async use case - ... after 8 sec",
          "async": true
        }
      ]
    },
    {
      "events": [
        {
          "event": "custom",
          "action": "echo Hello World Action"
        }
      ]
    },
    {
      "headers": {
        "x-github-event": "push"
      },
      "payload": {
        "$.repository.name": "node-hook-action"
      },
      "events": [
        {
          "event": "push",
          "action": "echo github node-hook-action on push"
        }
      ]
    }

  ]
}