mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-27 09:42:48 +00:00
chore: refactor lint workflow and add release-please
This commit is contained in:
parent
476af1352b
commit
251c9b932c
|
@ -1,4 +1,4 @@
|
||||||
name: MediaWiki CI
|
name: Lint
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -52,7 +52,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
since_last_remote_commit: "true"
|
since_last_remote_commit: "true"
|
||||||
files: |
|
files: |
|
||||||
modules/**/*.js
|
resources/**/*.js
|
||||||
|
|
||||||
- name: Check for stylesheet changes
|
- name: Check for stylesheet changes
|
||||||
id: changed-stylesheet
|
id: changed-stylesheet
|
||||||
|
@ -60,8 +60,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
since_last_remote_commit: "true"
|
since_last_remote_commit: "true"
|
||||||
files: |
|
files: |
|
||||||
modules/**/*.css
|
resources/**/*.css
|
||||||
modules/**/*.less
|
resources/**/*.less
|
||||||
|
|
||||||
- name: Check for i18n changes
|
- name: Check for i18n changes
|
||||||
id: changed-i18n
|
id: changed-i18n
|
18
.github/workflows/release-please.yml
vendored
Normal file
18
.github/workflows/release-please.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
name: release-please
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release-please:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: googleapis/release-please-action@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.WORKFLOW_TOKEN }}
|
Loading…
Reference in a new issue