Message ID | b5363e282f69570e34ffb806f7a62e00e39b98bc.1598991568.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b01aff8c1cefb9c2e9a08c1ec313308de77b83ee |
Headers | show |
Series | ci: avoid ugly "failure" annotation in the GitHub workflow | expand |
On Tue, Sep 01, 2020 at 08:19:26PM +0000, Johannes Schindelin via GitGitGadget wrote: > From: Johannes Schindelin <johannes.schindelin@gmx.de> > > The section added in e76eec35540f (ci: allow per-branch config for > GitHub Actions, 2020-05-07) contains a `&&`-chain that connects several > commands. The first command is actually so long that it stretches over > multiple lines, and as per usual, the continuation lines are indented one > more level than the first. > > However, the subsequent commands in the `&&`-chain were also indented > one more level than the first command, which was almost certainly > unintended. Yeah, I'm pretty sure this was unintentional in my original (and got carried through the recent re-indentation). -Peff
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30425404eb..6fd1d1a2c8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,8 +23,8 @@ jobs: --filter=blob:none \ https://github.com/${{ github.repository }} \ config-repo && - cd config-repo && - git checkout HEAD -- ci/config + cd config-repo && + git checkout HEAD -- ci/config - id: check-ref name: check whether CI is enabled for ref run: |