text: const core = require("@actions/core");
  const { parse_array, parse_boolean, default_parse } = require('../../../src/utils/parse-input')
  const _ = require('lodash')
  const request = require('../../../src/utils/request')
  
  const token = default_parse("token");
  const owner = default_parse("owner");
  const repo = default_parse("repo");
  const username = default_parse("username");
  const permission = default_parse("permission");
  const file_output = default_parse("file_output");
  const custom_outputs = default_parse("custom_outputs");
  
  
  const previews = [
  ]
  
  const inputs = {
    token,
    owner,
    repo,
    username,
    permission,
    file_output,
    custom_outputs,
  }
  
  
  request(token, 
    "put", 
    "/repos/{owner}/{repo}/collaborators/{username}", 
    previews,
    _.omit(inputs, ["token", "file_output", "custom_outputs"]),
    file_output,
    custom_outputs,
  ).then(result => {
      console.log("result", result);
    })
    .catch(error => {
      console.log("error", error);
      core.setFailed(error.message);
    });