mirror of https://github.com/openwrt/luci.git
build: skip waiting for formality check on bot PRs
Automated translation updates from Weblate and dependency bumps from
Dependabot do not trigger the formality webhook [1].
Consequently, the build workflow hangs indefinitely
on the 'Wait for FormalityCheck' step and
subsequently fails/times out.
- Let's skip it entirely for weblate PRs and do not build packages with
new translations as we discussed it and we don't need it currently
- Allow building packages for other bots as Dependabot, Copilot,
because sometimes they can introduce breaking changes and we
need to know, if it does not break CI/CD stuff.
[1] 31112ca8c0/cloudflare-worker/src/index.js (L129)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
pull/8826/head
parent
25b3d5b990
commit
ff1486806f
|
|
@ -10,9 +10,14 @@ permissions:
|
|||
jobs:
|
||||
wait-for-formalities:
|
||||
name: Wait for FormalityCheck
|
||||
if: github.event.pull_request.user.login != 'weblate'
|
||||
runs-on: ubuntu-slim
|
||||
steps:
|
||||
- name: Wait for Check Run
|
||||
if: |
|
||||
github.event.pull_request.user.login != 'dependabot[bot]' &&
|
||||
github.event.pull_request.user.login != 'Copilot' &&
|
||||
github.event.pull_request.user.type != 'Bot'
|
||||
uses: lewagon/wait-on-check-action@v1.8.0
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue