<commit_before>// @ts-check
const core = require("@actions/core");
const github = require("@actions/github");

async function main() {
  const token = core.getInput("github-token", { required: true });

  const context = github.context;
  const octokit = github.getOctokit(token, {
    previews: ["ant-man-preview", "flash-preview"],
  });

  const allStaleIssues = [];
  const staleIssuesWithAnyUpdatesSinceLabelling = [];
  const staleIssuesToBeClosed = [];
  const STALE_LABEL_NAME = "stale";
  const AUTOMATED_LABELLING_DATETIME = new Date("2022-06-03 19:24 GMT+4");

  for await (const issuePage of octokit.paginate.iterator(octokit.rest.issues.listForRepo, {
    ...context.repo,<commit_msg>chore: update workflow<commit_after>// @ts-check
const core = require("@actions/core");
const github = require("@actions/github");

async function main() {
  const token = core.getInput("github-token", { required: true });

  const context = github.context;
  const octokit = github.getOctokit(token, {
    previews: ["ant-man-preview", "flash-preview"],
  });

  const allStaleIssues = [];
  const staleIssuesWithAnyUpdatesSinceLabelling = [];
  const staleIssuesToBeClosed = [];
  const STALE_LABEL_NAME = "stale";
  const AUTOMATED_LABELLING_DATETIME = new Date("2022-06-03 19:23 GMT+4");

  for await (const issuePage of octokit.paginate.iterator(octokit.rest.issues.listForRepo, {
    ...context.repo,
{'fraction_non_alphanumeric': 0.14468995010691377, 'fraction_numerical': 0.018531717747683536, 'mean_word_length': 4.777777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '812140', 'n_tokens_mistral': 494, 'n_tokens_neox': 462, 'n_words': 95}