chore: refactor lint workflow and add release-please

This commit is contained in:
alistair3149 2024-05-25 18:37:43 -04:00
parent 476af1352b
commit 251c9b932c
No known key found for this signature in database
2 changed files with 137 additions and 119 deletions

View file

@ -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
View 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 }}