Add code owners, add triage ping, fix workflows

This commit is contained in:
Claudia Meadows 2024-09-02 08:31:46 -07:00
parent 2a7f31acb8
commit 8505916ebc
No known key found for this signature in database
GPG key ID: C86B594396786760
6 changed files with 19 additions and 5 deletions

View file

@ -10,6 +10,6 @@ trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
[{package.json,.travis.yml}]
[{package.json,.travis.yml,.github/**/*.yml}]
indent_style = space
indent_size = 2

3
.github/CODEOWNERS vendored
View file

@ -1 +1,2 @@
* @MithrilJS/Collaborators
* @MithrilJS/Committers
/.github/ @MithrilJS/Admins

13
.github/workflows/issue-create.yml vendored Normal file
View 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 }}

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
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
- 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

View file

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
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
- 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

View file

@ -15,7 +15,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
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
- run: npm run build
- run: npx pr-release pr --verbose --target master --source next --compact --verbose --minimize-semver-change