Skip to content

added some notebooks to trigger #2

added some notebooks to trigger

added some notebooks to trigger #2

Workflow file for this run

name: Labelbox Example Notebook Format
on:
push:
branches: [develop]
paths:
- examples/**
pull_request:
branches: [develop]
paths:
- examples/**
permissions:
contents: write
pull-requests: write
jobs:
if: github.event.pull_request.merged == False

Check failure on line 18 in .github/workflows/notebook-format.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/notebook-format.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: ./.github/actions/notebooks
with:
rye-version: ${{ vars.RYE_VERSION }}
python-version: ${{ inputs.python-version }}
- name: Format
working-directory: examples
run: rye run clean
- name: Commit changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add examples/.
git commit -m ":art: Cleaned" || exit 0
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}