node-task-runner
Advanced tools
| version: 2 | ||
| updates: | ||
| - package-ecosystem: github-actions | ||
| directory: "/" | ||
| schedule: | ||
| interval: daily | ||
| open-pull-requests-limit: 10 | ||
| reviewers: | ||
| - ckotzbauer | ||
| labels: | ||
| - kind/dependencies |
| { | ||
| "commands": [ | ||
| { "command": "hold", "arg": "", "action": "add-label", "label": "hold" }, | ||
| { "command": "hold", "arg": "cancel", "action": "remove-label", "label": "hold" }, | ||
| { "command": "label", "arg": "(.*)", "action": "add-label", "label": "$1" }, | ||
| { "command": "remove-label", "arg": "(.*)", "action": "remove-label", "label": "$1" }, | ||
| { "command": "kind", "arg": "(bug|feature|documentation|test|cleanup)", "action": "add-label", "label": "kind/$1" }, | ||
| { "command": "lifecycle", "arg": "(stale|frozen)", "action": "add-label", "label": "lifecycle/$1" }, | ||
| { "command": "remove-lifecycle", "arg": "(stale|frozen)", "action": "remove-label", "label": "lifecycle/$1" } | ||
| ], | ||
| "allowedUsers": [ | ||
| "ckotzbauer" | ||
| ] | ||
| } |
| [ | ||
| { "name": "kind/bug", "color": "#d73a4a", "description": "Categorizes issue or PR as related to a bug." }, | ||
| { "name": "kind/feature", "color": "#a2eeef", "description": "Categorizes issue or PR as related to a new feature." }, | ||
| { "name": "kind/documentation", "color": "#0075ca", "description": "Categorizes issue or PR as related to documentation." }, | ||
| { "name": "kind/test", "color": "#ddc23b", "description": "Categorizes issue or PR as related to tests." }, | ||
| { "name": "kind/cleanup", "color": "#ededed", "description": "Categorizes issue or PR as related to cleaning up code, process, or technical debt." }, | ||
| { "name": "kind/dependencies", "color": "#ededed", "description": "Pull requests that update a dependency file" }, | ||
| { "name": "lifecycle/stale", "color": "#795548", "description": "Denotes an issue or PR has remained open with no activity and has become stale." }, | ||
| { "name": "lifecycle/frozen", "color": "#d3e2f0", "description": "Indicates that an issue or PR should not be auto-closed due to staleness." }, | ||
| { "name": "size/XS", "color": "#009900", "description": "Denotes a PR that changes 0-9 lines, ignoring generated files." }, | ||
| { "name": "size/S", "color": "#77bb00", "description": "Denotes a PR that changes 10-29 lines, ignoring generated files." }, | ||
| { "name": "size/M", "color": "#eebb00", "description": "Denotes a PR that changes 30-99 lines, ignoring generated files." }, | ||
| { "name": "size/L", "color": "#ee9900", "description": "Denotes a PR that changes 100-499 lines, ignoring generated files." }, | ||
| { "name": "size/XL", "color": "#ee5500", "description": "Denotes a PR that changes 500-999 lines, ignoring generated files." }, | ||
| { "name": "size/XXL", "color": "#ee0000", "description": "Denotes a PR that changes 1000+ lines, ignoring generated files." }, | ||
| { "name": "help wanted", "color": "#008672", "description": "Denotes an issue that needs help from a contributor." }, | ||
| { "name": "good first issue", "color": "#7057ff", "description": "Denotes an issue ready for a new contributor." }, | ||
| { "name": "approved", "color": "#2fed58", "description": "Indicates a PR has been approved and is ready for merge." }, | ||
| { "name": "hold", "color": "#e11d21", "description": "Indicates that a PR should not merge." }, | ||
| { "name": "work-in-progress", "color": "#e01dd6", "description": "Indicates that a PR is still in progress." } | ||
| ] |
| name: Merge PRs | ||
| on: | ||
| pull_request: | ||
| types: | ||
| - labeled | ||
| - unlabeled | ||
| - synchronize | ||
| - opened | ||
| - edited | ||
| - ready_for_review | ||
| - reopened | ||
| - unlocked | ||
| pull_request_review: | ||
| types: | ||
| - submitted | ||
| check_suite: | ||
| types: | ||
| - completed | ||
| status: {} | ||
| jobs: | ||
| automerge: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: automerge | ||
| uses: "pascalgn/automerge-action@c9bd1823770819dc8fb8a5db2d11a3a95fbe9b07" | ||
| env: | ||
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
| MERGE_LABELS: "approved,!work-in-progress,!hold" | ||
| MERGE_METHOD: "rebase" | ||
| MERGE_DELETE_BRANCH: "true" |
| name: Create default labels | ||
| on: issues | ||
| jobs: | ||
| labels: | ||
| name: DefaultLabelsActions | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: lannonbr/issue-label-manager-action@2.0.0 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| name: Label Issues | ||
| on: | ||
| issue_comment: | ||
| types: | ||
| - created | ||
| - edited | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| issues: | ||
| types: | ||
| - opened | ||
| jobs: | ||
| label: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: "actions/checkout@v2" | ||
| - name: label | ||
| uses: "ckotzbauer/label-command-action@master" | ||
| env: | ||
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
| name: create-release | ||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| version: | ||
| description: 'Version' | ||
| required: true | ||
| jobs: | ||
| release: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| with: | ||
| fetch-depth: 0 | ||
| token: ${{ secrets.REPO_ACCESS }} | ||
| - name: Setup Node | ||
| uses: actions/setup-node@v2.1.2 | ||
| with: | ||
| node-version: '14' | ||
| - name: Bump version | ||
| run: | | ||
| jq --arg v ${{ github.event.inputs.version }} '.version = $v' package.json > tmp && mv tmp package.json | ||
| jq --arg v ${{ github.event.inputs.version }} '.version = $v' package-lock.json > tmp && mv tmp package-lock.json | ||
| - name: Build | ||
| run: npm ci | ||
| - name: Generate changelog | ||
| run: npx @code-chris/changelog-generator --release-version ${{ github.event.inputs.version }} --github-handle ${{ github.repository }} --commit-output commits.md | ||
| - name: Commit files | ||
| id: commit | ||
| run: | | ||
| git config --local user.email "action@github.com" | ||
| git config --local user.name "GitHub Action" | ||
| git commit -m "chore: release ${{ github.event.inputs.version }}" -a | ||
| - name: Push changes | ||
| uses: ad-m/github-push-action@v0.6.0 | ||
| with: | ||
| github_token: ${{ secrets.REPO_ACCESS }} | ||
| branch: master | ||
| - name: Create release | ||
| uses: actions/create-release@v1 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| tag_name: ${{ github.event.inputs.version }} | ||
| release_name: ${{ github.event.inputs.version }} | ||
| body_path: commits.md | ||
| prerelease: ${{ contains(github.event.inputs.version, 'alpha') || contains(github.event.inputs.version, 'beta') || contains(github.event.inputs.version, 'rc') }} |
| name: Label size of PRs | ||
| on: pull_request | ||
| jobs: | ||
| size-label: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: size-label | ||
| uses: "pascalgn/size-label-action@9df9e5d3e376d74ac734cc86a83a04f12ab457e7" | ||
| env: | ||
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
| IGNORED: ".*\npackage-lock.json\ndist/**" |
| name: Close stale issues | ||
| on: | ||
| schedule: | ||
| - cron: "0 0 * * *" | ||
| jobs: | ||
| stale: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/stale@v3 | ||
| with: | ||
| repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
| stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label with `/remove-lifecycle stale` or comment or this will be closed in 5 days.' | ||
| stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label with `/remove-lifecycle stale` or comment or this will be closed in 5 days.' | ||
| stale-issue-label: 'lifecycle/stale' | ||
| exempt-issue-labels: 'work-in-progress,lifecycle/frozen' | ||
| stale-pr-label: 'lifecycle/stale' | ||
| exempt-pr-labels: 'work-in-progress,lifecycle/frozen' | ||
| days-before-stale: 90 | ||
| days-before-close: 5 |
+14
-0
@@ -0,1 +1,15 @@ | ||
| ## Version 2.4.1 (2020-12-09) | ||
| * [[`76788e6b`](https://github.com/ckotzbauer/node-task-runner/commit/76788e6b)] - **chore**: fix release workflow | ||
| * [[`d83a07a7`](https://github.com/ckotzbauer/node-task-runner/commit/d83a07a7)] - **chore**: improve automation | ||
| * [[`ae0031b3`](https://github.com/ckotzbauer/node-task-runner/commit/ae0031b3)] - **chore**: Bump pascalgn/size-label-action | ||
| * [[`93d198be`](https://github.com/ckotzbauer/node-task-runner/commit/93d198be)] - **chore**: Bump pascalgn/automerge-action | ||
| * [[`27b16d31`](https://github.com/ckotzbauer/node-task-runner/commit/27b16d31)] - **chore**: Bump pascalgn/automerge-action | ||
| * [[`c166c3c5`](https://github.com/ckotzbauer/node-task-runner/commit/c166c3c5)] - **chore**: improved github-actions | ||
| * [[`67950dd5`](https://github.com/ckotzbauer/node-task-runner/commit/67950dd5)] - **chore**: Bump pascalgn/automerge-action | ||
| * [[`14b166b4`](https://github.com/ckotzbauer/node-task-runner/commit/14b166b4)] - **chore**: Bump pascalgn/automerge-action | ||
| * [[`6877e315`](https://github.com/ckotzbauer/node-task-runner/commit/6877e315)] - **chore**: Bump pascalgn/size-label-action | ||
| * [[`fa611cb1`](https://github.com/ckotzbauer/node-task-runner/commit/fa611cb1)] - **chore**: Create Dependabot config file | ||
| * [[`1a824bc8`](https://github.com/ckotzbauer/node-task-runner/commit/1a824bc8)] - **chore**: add github-actions | ||
| * [[`fdcc0959`](https://github.com/ckotzbauer/node-task-runner/commit/fdcc0959)] - **chore**: add reviewer | ||
| # Changelog | ||
@@ -2,0 +16,0 @@ |
+1
-1
| { | ||
| "name": "node-task-runner", | ||
| "version": "2.4.0", | ||
| "version": "2.4.1", | ||
| "description": "A promise-based dependency-free task runner for Node.", | ||
@@ -5,0 +5,0 @@ "main": "lib/cli.js", |
+25
-1
@@ -7,4 +7,28 @@ { | ||
| "labels": [ | ||
| "dependencies" | ||
| "kind/dependencies" | ||
| ], | ||
| "packageRules": [ | ||
| { | ||
| "updateTypes": [ | ||
| "minor", | ||
| "patch", | ||
| "pin", | ||
| "digest" | ||
| ], | ||
| "addLabels": [ | ||
| "approved" | ||
| ] | ||
| }, | ||
| { | ||
| "updateTypes": [ | ||
| "major", | ||
| "lockFileMaintenance", | ||
| "rollback", | ||
| "bump" | ||
| ], | ||
| "reviewers": [ | ||
| "ckotzbauer" | ||
| ] | ||
| } | ||
| ] | ||
| } |
21293
83.66%19
90%211
37.91%