Skip to content

Commit

Permalink
[Auto publication] Force job serialization
Browse files Browse the repository at this point in the history
One job runs for each of the 3 documents in the repository. Each of them
updates the "gh-pages" branch. Problem is that these jobs are typically run in
parallel, leading to "not up to date" issues when "git push" commands are run.

For an example of such a problem, see:
https://github.com/w3c/webcodecs/runs/2462176606

Also see discussion in:
w3c/spec-prod#58

This update tells GitHub to serialize the jobs. Since the jobs are relatively
independent otherwise, it also tells GitHub to run them to completion even
when one of them fails.
  • Loading branch information
tidoust committed Apr 30, 2021
1 parent 0e36f6b commit 833108d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
main:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
max-parallel: 1
matrix:
include:
- source: index.src.html
Expand Down

0 comments on commit 833108d

Please sign in to comment.