Skip to content

Commit

Permalink
Fix the build workflow to actually run on push.
Browse files Browse the repository at this point in the history
`[ main develop ]` is not a list of "main" and "develop", it's a list of
"main develop". There is no branch named "main develop". This has been
wrong since it was originally checked in a few years ago, so checks just
have not been running on push.

The branch filtering is totally unnecessary. Just remove it.

This, it turns out, is the real reason that the badge shows "no status".
It's right. This build has never run, so there is no status yet.
  • Loading branch information
DanAlbert committed May 14, 2024
1 parent 587ec96 commit fe5495d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: build

on:
push:
branches: [ main develop ]
pull_request:
branches: [ main ]
on: [push, pull_request]

jobs:
build:
Expand Down

0 comments on commit fe5495d

Please sign in to comment.