{"_id":"@dext7r/delete-workflow-run-logs","_rev":"1-0a1d471402d58ac201725841ab35334f","name":"@dext7r/delete-workflow-run-logs","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@dext7r/delete-workflow-run-logs","version":"1.0.0","description":"A GitHub Action to delete logs of a workflow run","repository":{"type":"git","url":"git+https://github.com/dext7r/deleteWorkflowRunLogs.git"},"homepage":"https://github.com/dext7r/deleteWorkflowRunLogs","bugs":{"url":"https://github.com/dext7r/deleteWorkflowRunLogs/issues"},"keywords":["github","action","commit","comment"],"license":"MIT","author":{"name":"h7ml","email":"i@h7ml.cn","url":"https://github.com/h7ml"},"sideEffects":[],"main":"./src/index.ts","scripts":{"lint":"eslint .","lint:fix":"eslint . --fix","build":"ncc build","format":"prettier --write src/*.ts","format-check":"prettier --check src/*.ts"},"dependencies":{"@actions/core":"^1.10.1","@actions/github":"^6.0.0","@octokit/rest":"^20.1.0","axios":"^1.6.8","dotenv":"^16.4.5"},"devDependencies":{"@antfu/eslint-config":"^2.16.1","@types/node":"^20.12.8","@vercel/ncc":"0.38.1","eslint":"^9.1.1","prettier":"^3.2.5","typescript":"^5.4.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"gitHead":"ad1e9b097a593794764555ec8bd0bf52408f47e4","_id":"@dext7r/delete-workflow-run-logs@1.0.0","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-EJMhyZB/1nu5XcBQpbhrZY4vyZn7xyMpBWykFBP9tIrsemtz/9Jj4a/PFmlPJhstdmX31DirOoMSiDAAECpGGQ==","shasum":"d9e3638ddf68cf219c94d4405ee8a21fb25e19c2","tarball":"https://registry.npmjs.org/@dext7r/delete-workflow-run-logs/-/delete-workflow-run-logs-1.0.0.tgz","fileCount":16,"unpackedSize":1131145,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGzyHXEaADdJW2l4bXaqXIkZMLidUnwkCqaIfN/eDUI9AiEA//9dQkWYz+ObHpMRwQOgq/VFhoX0Awdsg14NLOqk1zY="}]},"_npmUser":{"name":"h7ml","email":"h7ml@qq.com"},"directories":{},"maintainers":[{"name":"h7ml","email":"h7ml@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/delete-workflow-run-logs_1.0.0_1714640715416_0.7480168163357981"},"_hasShrinkwrap":false},"1.0.1":{"name":"@dext7r/delete-workflow-run-logs","version":"1.0.1","description":"A GitHub Action to delete logs of a workflow run","repository":{"type":"git","url":"git+https://github.com/dext7r/deleteWorkflowRunLogs.git"},"homepage":"https://github.com/dext7r/deleteWorkflowRunLogs","bugs":{"url":"https://github.com/dext7r/deleteWorkflowRunLogs/issues"},"keywords":["github","action","commit","comment"],"license":"MIT","author":{"name":"h7ml","email":"i@h7ml.cn","url":"https://github.com/h7ml"},"sideEffects":[],"main":"./src/index.ts","scripts":{"lint":"eslint .","lint:fix":"eslint . --fix","build":"ncc build","format":"prettier --write src/*.ts","format-check":"prettier --check src/*.ts"},"dependencies":{"@actions/core":"^1.10.1","@actions/github":"^6.0.0","@octokit/rest":"^20.1.0","axios":"^1.6.8","dotenv":"^16.4.5"},"devDependencies":{"@antfu/eslint-config":"^2.16.1","@types/node":"^20.12.8","@vercel/ncc":"0.38.1","eslint":"^9.1.1","prettier":"^3.2.5","typescript":"^5.4.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"gitHead":"46c0beeac0ff55597f47f82f883991137c9ba418","_id":"@dext7r/delete-workflow-run-logs@1.0.1","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-noFWXRVhBydddKGaNhkAmL3LnGCZGalr8X9ttpnhzAbfaJLaeKAnjuG7gDrXjMAF3NETlNOErSjFBtg4PhguwA==","shasum":"6511f6e7d91bba28f8b64c30cc00ccbbfc7b1255","tarball":"https://registry.npmjs.org/@dext7r/delete-workflow-run-logs/-/delete-workflow-run-logs-1.0.1.tgz","fileCount":16,"unpackedSize":1131119,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCB3NRj8tiEOGCeDwSzlIMdbKq1QIRxlWhZlMJdutOswIhAPrCHMVRLlzKaNlJKroc+dK0Vo6HCW04+8kUpNk/Bndc"}]},"_npmUser":{"name":"h7ml","email":"h7ml@qq.com"},"directories":{},"maintainers":[{"name":"h7ml","email":"h7ml@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/delete-workflow-run-logs_1.0.1_1714700648252_0.28881596490515604"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-02T09:05:15.209Z","1.0.0":"2024-05-02T09:05:15.609Z","modified":"2024-05-03T01:44:08.669Z","1.0.1":"2024-05-03T01:44:08.471Z"},"maintainers":[{"name":"h7ml","email":"h7ml@qq.com"}],"description":"A GitHub Action to delete logs of a workflow run","homepage":"https://github.com/dext7r/deleteWorkflowRunLogs","keywords":["github","action","commit","comment"],"repository":{"type":"git","url":"git+https://github.com/dext7r/deleteWorkflowRunLogs.git"},"author":{"name":"h7ml","email":"i@h7ml.cn","url":"https://github.com/h7ml"},"bugs":{"url":"https://github.com/dext7r/deleteWorkflowRunLogs/issues"},"license":"MIT","readme":"<h1 align=\"center\">deleteWorkflowRunLogs</h1>\n<p>\n  <a href=\"https://www.npmjs.com/package/@dext7r/delete-workflow-run-logs\" target=\"_blank\">\n    <img alt=\"Version\" src=\"https://img.shields.io/badge/version-1.0.1-blue.svg?cacheSeconds=2592000\">\n  </a>\n  <a href=\"https://github.com/dext7r/deleteWorkflowRunLogs/actions/workflows/delete-workflow-run-logs.yml\" target=\"_blank\">\n    <img alt=\"GitHub Workflow Status\" src=\"https://github.com/dext7r/deleteWorkflowRunLogs/actions/workflows/delete-workflow-run-logs.yml/badge.svg\">\n  </a>\n  <img src=\"https://img.shields.io/badge/node-%3E%3D12-blue.svg\" />\n  <a href=\"https://github.com/dext7r/deleteWorkflowRunLogs#readme\" target=\"_blank\">\n    <img alt=\"Documentation\" src=\"https://img.shields.io/badge/documentation-yes-brightgreen.svg\" />\n  </a>\n  <a href=\"https://github.com/dext7r/deleteWorkflowRunLogs/graphs/commit-activity\" target=\"_blank\">\n    <img alt=\"Maintenance\" src=\"https://img.shields.io/badge/Maintained%3F-yes-green.svg\" />\n  </a>\n  <a href=\"https://github.com/dext7r/deleteWorkflowRunLogs/blob/master/LICENSE\" target=\"_blank\">\n    <img alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" />\n  </a>\n</p>\n\n# deleteWorkflowRunLogs\n\ndeleteWorkflowRunLogs 是基于[@octokit/rest](https://github.com/octokit/rest.js ) 封装的github action版本。也可使用 [@dext7r/delete-workflow-run-logs](https://www.npmjs.com/@dext7r/delete-workflow-run-logs),在node环境下使用\n\n## action\n\n### 新建一个workflow文件\n  ```yaml .github/workflows/delete-workflow-run-logs.yml\n  name: Push Notifications\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  delete-workflow-run-logs:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Run Push Notifications action\n      uses: dext7r/delete-workflow-run-logs@main\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        per_page: 100\n        expire_time: 7d\n        status: completed\n        repo: ${{ github.repository.repo }}\n        owner: ${{ github.repository.owner }}\n```\n\n## 参数\n\n| 变量名        | 描述                 | 可选值  | 默认值 | 必填  |\n|---------------|----------------------|---------|--------|--------|\n| token         | GitHub token         |         |        | 是     |\n| per_page      | 每页展示的数量         |         | 100    | 否     |\n| expire_time   | 过期时间              | <time>d/<time>h/m/y | 7d   | 否     |\n| status        | 工作流运行状态          | completed/cancelled/skipped | completed | 否  |\n| repo          | 仓库名称              |         |        | 是     |\n| owner         | 仓库所有者             |         |        | 是     |\n","readmeFilename":"README.md"}