File tree Expand file tree Collapse file tree 6 files changed +81
-58
lines changed
Expand file tree Collapse file tree 6 files changed +81
-58
lines changed Original file line number Diff line number Diff line change 1+ # editorconfig.org
12root = true
23
34[* ]
4- indent_style = tab
5+ indent_style = space
6+ indent_size = 2
57end_of_line = lf
68charset = utf-8
79trim_trailing_whitespace = true
810insert_final_newline = true
911
10- [* .yml ]
11- indent_style = space
12- indent_size = 2
12+ [* .md ]
13+ trim_trailing_whitespace = false
Original file line number Diff line number Diff line change 1+ # .github/release.yml
2+
3+ changelog :
4+ exclude :
5+ labels :
6+ - documentation
7+ - ignore-for-release
8+ categories :
9+ - title : Breaking Changes
10+ labels :
11+ - breaking
12+ exclude :
13+ labels :
14+ - dependencies
15+ - title : New Features
16+ labels :
17+ - enhancement
18+ exclude :
19+ labels :
20+ - dependencies
21+ - title : Bug Fixes
22+ labels :
23+ - bug
24+ exclude :
25+ labels :
26+ - dependencies
27+ - title : Security Patches
28+ labels :
29+ - security
30+ - " security"
31+ exclude :
32+ labels :
33+ - dependencies
34+ - title : Dependencies
35+ labels :
36+ - dependencies
37+ - title : Maintenance
38+ labels :
39+ - " *"
40+ exclude :
41+ labels :
42+ - dependencies
Original file line number Diff line number Diff line change 11name : Auto-approve PR
22on : pull_request_target
33permissions :
4- contents : write
54 pull-requests : write
65jobs :
7- auto-approve-renovate-prs :
8- runs-on : ubuntu-latest
9- steps :
10- - name : Git Checkout
11- uses : actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
12- with :
13- fetch-depth : ' 0'
14- - name : Approve PR
15- if : github.actor == 'renovate[bot]'
16- run : |
17- gh pr review --approve ${{ github.event.number }} -b "I'm **approving** \
18- this pull request because it includes a patch or minor update."
19- env :
20- GH_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
6+ apply :
7+ if : github.actor == 'renovate[bot]'
8+ uses : palashmon/reusable-workflows/.github/workflows/auto-approve.yml@main
9+ secrets : inherit
Original file line number Diff line number Diff line change 11name : CI
2- on : [push, pull_request]
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ pull_request : # PRs to main branches
9+ workflow_dispatch : # manual trigger
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.event.number || github.sha }}
13+ cancel-in-progress : true
14+
315jobs :
416 test :
5- name : Node.js ${{ matrix.node-version }}
6- runs-on : ubuntu-latest
7- strategy :
8- fail-fast : false
9- matrix :
10- node-version : ['lts/*', 'current']
11- steps :
12- - name : Checkout Repo
13- uses : actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
14- - name : Setup Node.js (${{ matrix.node-version }})
15- uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
16- with :
17- node-version : ${{ matrix.node-version }}
18- - run : npm install
19- - run : npm test
17+ uses : palashmon/reusable-workflows/.github/workflows/main-build.yml@main
Original file line number Diff line number Diff line change 1+ name : PR labeler
2+ on :
3+ - pull_request_target
4+ jobs :
5+ apply :
6+ if : ${{ github.event.pull_request.head.repo.full_name == github.repository }} # only PRs from this repo
7+ uses : palashmon/reusable-workflows/.github/workflows/labeler-reusable.yml@main
8+ secrets : inherit
Original file line number Diff line number Diff line change 1- # This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2- #
3- # You can adjust the behavior by modifying this file.
4- # For more information, see:
5- # https://github.com/actions/stale
6- name : Mark stale issues and pull requests
1+ name : ' Close stale issues and PRs'
72on :
83 schedule :
9- - cron : " */10 5 * * *"
4+ - cron : ' 30 1 * * *'
5+ permissions :
6+ issues : write
7+ pull-requests : write
108jobs :
11- stale :
12- runs-on : ubuntu-latest
13- permissions :
14- issues : write
15- pull-requests : write
16- steps :
17- - uses : actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
18- with :
19- repo-token : ${{ secrets.GITHUB_TOKEN }}
20- days-before-stale : 365
21- stale-issue-message : ' This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
22- stale-pr-message : ' This PR is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
23- close-issue-message : ' This issue was closed because it has been stalled for 7 days with no activity.'
24- close-pr-message : ' This PR was closed because it has been stalled for 7 days with no activity.'
25- exempt-issue-labels : ' Help Wanted, Good first issue, Never gets stale'
26- exempt-pr-labels : ' Help Wanted, Never gets stale'
9+ apply :
10+ uses : palashmon/reusable-workflows/.github/workflows/stale.yml@main
11+ secrets : inherit
You can’t perform that action at this time.
0 commit comments