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:
formatting:
name: Code formatting
if: github.actor != 'renovate[bot]'
runs-on: ubuntu-latest
defaults:
run:
@@ -133,6 +134,7 @@ jobs:
unused-code:
name: Test for unused code
if: github.actor != 'renovate[bot]'
runs-on: ubuntu-latest
defaults:
run:
@@ -197,7 +199,7 @@ jobs:
web-bundle:
name: Build and bundle web project
runs-on: ubuntu-latest
if: github.repository == 'owncast/owncast'
if: github.repository == 'owncast/owncast' && !cancelled()
needs: [formatting, unused-code]
steps:
- id: skip_check
+3
View File
@@ -59,6 +59,9 @@ module.exports = async phase => {
productionBrowserSourceMaps: process.env.SOURCE_MAPS === 'true',
trailingSlash: true,
reactStrictMode: true,
eslint: {
ignoreDuringBuilds: true,
},
images: {
unoptimized: true,
},