Skip to content

Bump tj-actions/changed-files from 45.0.4 to 45.0.5 (#120) #243

Bump tj-actions/changed-files from 45.0.4 to 45.0.5 (#120)

Bump tj-actions/changed-files from 45.0.4 to 45.0.5 (#120) #243

Workflow file for this run

name: Black
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check-source-changes:
runs-on: ubuntu-latest
outputs:
run_job: ${{ steps.changed-files.outputs.any_changed }}
steps:
- name: Checkout Sourcecode
uses: actions/checkout@v4
- name: Check for changes in source code
id: changed-files
uses: tj-actions/changed-files@v45.0.5
with:
files: |
purpleair_api/*.py
tests/*.py
tests/*.txt
setup.py
setup.cfg
black:
runs-on: ubuntu-latest
needs: check-source-changes
if: needs.check-source-changes.outputs.run_job == 'true'
steps:
- uses: actions/checkout@v4
- uses: psf/black@24.10.0