publish-commit-bottles: Fix syntax? (#53800)

- Sorry folks, 7dcd5e2be6 was bad:

> The workflow is not valid.
> .github/workflows/publish-commit-bottles.yml (Line: 31, Col: 13):
> Unrecognized named-value: 'context'. Located at position 1 within
> expression: context.actor != "BrewTestBot"

- Maybe if it does the `if` after the `uses`, it'll know what `context`
  is?
master
Issy Long 2020-04-26 20:26:34 +01:00 committed by GitHub
parent 0dab0125d1
commit a7ce1303b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,8 +28,8 @@ jobs:
core.setOutput("name", name)
core.setOutput("email", email)
- name: Post comment once started
if: context.actor != "BrewTestBot"
uses: actions/github-script@0.9.0
if: context.actor != "BrewTestBot"
with:
github-token: ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
script: |