mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:51:43 +00:00
renovate-downstream: check for branch in event instead of github.ref (#13857)
This commit is contained in:
parent
176ea02451
commit
c1200f2cb9
2
.github/workflows/renovate-downstream.yml
vendored
2
.github/workflows/renovate-downstream.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
# Run on commit status success on branch main, ignoring bot events
|
||||
if: ${{ github.ref == 'refs/heads/main' && github.event.state == 'success' && github.event.context == 'buildkite/sourcegraph' }}
|
||||
if: ${{ contains(github.event.branches.*.name, 'main') && github.event.state == 'success' && github.event.context == 'buildkite/sourcegraph' }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user