Skip to content

Commit

Permalink
Created new Count Python Files action
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha authored Jan 15, 2024
1 parent 2e45207 commit 0195a18
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/hands_on_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Count Python Files in Repository

on: [push]

jobs:
count-python-files:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Count files ending in .py
run: |
echo "Repository contains $(find . -name '*.py' | wc -l) Python files."

0 comments on commit 0195a18

Please sign in to comment.