[ci] Add GHA workflows to enable full CI run (#6381)

Signed-off-by: kevin <kevin@anyscale.com>
This commit is contained in:
Kevin H. Luu
2024-07-12 11:36:26 -07:00
committed by GitHub
parent b75bce1008
commit 4dbebd03cc
3 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
name: Add label on auto-merge enabled
on:
pull_request_target:
types:
- auto_merge_enabled
jobs:
add-label-on-auto-merge:
runs-on: ubuntu-latest
steps:
- name: Add label
uses: actions/github-script@v5
with:
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['ready']
})
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}