Skip to content

Instantly share code, notes, and snippets.

@rindeal
Last active September 18, 2024 05:01
Show Gist options
  • Save rindeal/2be692a8e7cc3bec36e0c46a33cf008a to your computer and use it in GitHub Desktop.
Save rindeal/2be692a8e7cc3bec36e0c46a33cf008a to your computer and use it in GitHub Desktop.
/**
 * @param {object} params
 * @param {import('@actions/github/lib/context').Context} params.context - 
 *   @see {@link https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts}
 * @param {typeof import('@actions/core')} params.core - 
 *   @see {@link https://github.com/actions/toolkit/tree/main/packages/core}
 * @param {typeof import('@actions/github')} params.github - 
 *   @see {@link https://github.com/actions/toolkit/tree/main/packages/github}
 * @param {typeof import('@actions/exec')} params.exec - 
 *   @see {@link https://github.com/actions/toolkit/tree/main/packages/exec}
 * @param {typeof import('@actions/glob')} params.glob - 
 *   @see {@link https://github.com/actions/toolkit/tree/main/packages/glob}
 * @param {typeof import('@actions/io')} params.io - 
 *   @see {@link https://github.com/actions/toolkit/tree/main/packages/io}
 * @param {NodeRequire} params.require
 */
async function main({ context, core, github, exec, glob, io, require }) {

    // **All** your code here ...

}

return await main({ context, core, github, exec, glob, io, require });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment