mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-05-24 16:44:39 -04:00
ci: wait for auto-bot to run check
only run evergreen on PR Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
7
.github/workflows/auto-bot.yml
vendored
7
.github/workflows/auto-bot.yml
vendored
@@ -26,6 +26,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||
steps:
|
||||
- name: Wait for tests to succeed
|
||||
uses: lewagon/wait-on-check-action@v1.3.1
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
check-name: check
|
||||
wait-interval: 10
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Enable auto-merge for Dependabot PRs
|
||||
run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}
|
||||
env:
|
||||
|
||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -60,6 +60,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- tests
|
||||
if: github.event_name == 'pull_request'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -94,7 +95,7 @@ jobs:
|
||||
with:
|
||||
path: coverage-report.md
|
||||
evergreen: # https://github.com/marketplace/actions/alls-green#why
|
||||
if: always()
|
||||
if: github.event_name == 'pull_request'
|
||||
needs:
|
||||
- coverage
|
||||
- tests
|
||||
|
||||
2
.github/workflows/create-releases.yml
vendored
2
.github/workflows/create-releases.yml
vendored
@@ -39,8 +39,10 @@ jobs:
|
||||
release:
|
||||
if: github.repository_owner == 'bentoml'
|
||||
runs-on: ubuntu-latest
|
||||
environment: release
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
outputs:
|
||||
version: ${{ steps.version.outputs.version }}
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user