Update comments in demo notebooks #163
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |