chore(deps): do not run code lint/format on renovate PRs and do not run linter during builds

This commit is contained in:
Gabe Kangas
2026-03-27 13:25:32 -07:00
parent 285a722fac
commit c85529370b
2 changed files with 6 additions and 1 deletions
@@ -38,6 +38,7 @@ on:
jobs: jobs:
formatting: formatting:
name: Code formatting name: Code formatting
if: github.actor != 'renovate[bot]'
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults: defaults:
run: run:
@@ -133,6 +134,7 @@ jobs:
unused-code: unused-code:
name: Test for unused code name: Test for unused code
if: github.actor != 'renovate[bot]'
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults: defaults:
run: run:
@@ -197,7 +199,7 @@ jobs:
web-bundle: web-bundle:
name: Build and bundle web project name: Build and bundle web project
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'owncast/owncast' if: github.repository == 'owncast/owncast' && !cancelled()
needs: [formatting, unused-code] needs: [formatting, unused-code]
steps: steps:
- id: skip_check - id: skip_check
+3
View File
@@ -59,6 +59,9 @@ module.exports = async phase => {
productionBrowserSourceMaps: process.env.SOURCE_MAPS === 'true', productionBrowserSourceMaps: process.env.SOURCE_MAPS === 'true',
trailingSlash: true, trailingSlash: true,
reactStrictMode: true, reactStrictMode: true,
eslint: {
ignoreDuringBuilds: true,
},
images: { images: {
unoptimized: true, unoptimized: true,
}, },