Add code owners, add triage ping, fix workflows
This commit is contained in:
parent
2a7f31acb8
commit
8505916ebc
6 changed files with 19 additions and 5 deletions
|
|
@ -10,6 +10,6 @@ trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
|
|
||||||
[{package.json,.travis.yml}]
|
[{package.json,.travis.yml,.github/**/*.yml}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
|
||||||
3
.github/CODEOWNERS
vendored
3
.github/CODEOWNERS
vendored
|
|
@ -1 +1,2 @@
|
||||||
* @MithrilJS/Collaborators
|
* @MithrilJS/Committers
|
||||||
|
/.github/ @MithrilJS/Admins
|
||||||
|
|
|
||||||
13
.github/workflows/issue-create.yml
vendored
Normal file
13
.github/workflows/issue-create.yml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
name: Ping triage on issue create
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
notify:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: gh issue comment ${{ github.event.issue.url }} --body '@MithrilJS/triage Please take a look.'
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
2
.github/workflows/merge.yml
vendored
2
.github/workflows/merge.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: git clone --depth=0 https://github.com/MithrilJS/mithril.js.git && cd mithril.js
|
- run: git clone --depth=1 https://github.com/MithrilJS/mithril.js.git && cd mithril.js
|
||||||
- uses: ./.github/actions/setup
|
- uses: ./.github/actions/setup
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npx pr-release merge --target master --source next --commit --force --clean --changelog ./docs/recent-changes.md --compact --minimize-semver-change
|
- run: npx pr-release merge --target master --source next --commit --force --clean --changelog ./docs/recent-changes.md --compact --minimize-semver-change
|
||||||
|
|
|
||||||
2
.github/workflows/rollback.yml
vendored
2
.github/workflows/rollback.yml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: git clone --depth=0 https://github.com/MithrilJS/mithril.js.git && cd mithril.js
|
- run: git clone --depth=1 https://github.com/MithrilJS/mithril.js.git && cd mithril.js
|
||||||
- uses: ./.github/actions/setup
|
- uses: ./.github/actions/setup
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npx pr-release rollback --verbose --target master --source next --verbose --ignore 'package*' --ignore docs/changelog.md --ignore docs/recent-changes.md
|
- run: npx pr-release rollback --verbose --target master --source next --verbose --ignore 'package*' --ignore docs/changelog.md --ignore docs/recent-changes.md
|
||||||
|
|
|
||||||
2
.github/workflows/test-next-push.yml
vendored
2
.github/workflows/test-next-push.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: git clone --depth=0 https://github.com/MithrilJS/mithril.js.git && cd mithril.js
|
- run: git clone --depth=1 https://github.com/MithrilJS/mithril.js.git && cd mithril.js
|
||||||
- uses: ./.github/actions/setup
|
- uses: ./.github/actions/setup
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npx pr-release pr --verbose --target master --source next --compact --verbose --minimize-semver-change
|
- run: npx pr-release pr --verbose --target master --source next --compact --verbose --minimize-semver-change
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue