Skip to content

Refactor ray creation #122

Refactor ray creation

Refactor ray creation #122

# This workflow file adds the 'lgtm' and 'approved' labels to Dependabot PRs
# This is done to ensure that the PRs that pass required status checks are automatically merged by the CodeFlare bot
name: Dependabot Labeler
on:
pull_request_target:
branches: [ main ]
jobs:
add-approve-lgtm-label:
if: ${{ github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'dependabot') }}
runs-on: ubuntu-latest
# Permission required to edit a PR
permissions:
pull-requests: write
issues: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Add approve and lgtm labels to Dependabot PR
run: |
gh pr edit ${{ github.event.pull_request.number }} --add-label "lgtm" --add-label "approved"
env:
GITHUB_TOKEN: ${{ secrets.GH_CLI_TOKEN }}