Bump tj-actions/changed-files from 45.0.4 to 45.0.5 #264
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
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/[email protected] | |
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/[email protected] |