Skip to content

fix caiman key typo to properly grab videos #27

fix caiman key typo to properly grab videos

fix caiman key typo to properly grab videos #27

Workflow file for this run

name: Bump version on PR
on:
pull_request:
types: [ opened, synchronize, labeled ]
jobs:
bump-version:
runs-on: ubuntu-latest
permissions:
contents: write
if: |
contains(join(github.event.pull_request.labels.*.name, ' '), 'release:patch')
|| contains(join(github.event.pull_request.labels.*.name, ' '), 'release:minor')
|| contains(join(github.event.pull_request.labels.*.name, ' '), 'release:major')
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Determine version type from labels
id: version_type
run: |
LABELS="${{ join(github.event.pull_request.labels.*.name, ' ') }}"
if echo "$LABELS" | grep -q 'release:major'; then
echo "type=major" >> $GITHUB_OUTPUT
elif echo "$LABELS" | grep -q 'release:minor'; then
echo "type=minor" >> $GITHUB_OUTPUT
else
echo "type=patch" >> $GITHUB_OUTPUT
fi
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install bumpver
run: |
python -m pip install --upgrade pip
pip install bumpver
- name: Configure Git user
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
- name: Bump version on PR branch
run: |
bumpver update --${{ steps.version_type.outputs.type }} --commit
git push origin HEAD:${{ github.head_ref }}