Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/changelog-check.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Changelog Check

Check warning on line 1 in .github/workflows/changelog-check.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

1:1 [document-start] missing document start "---"

# This workflow validates that CHANGELOG.md has been updated in PRs
# It ensures that changes are properly documented before merging

on:

Check warning on line 6 in .github/workflows/changelog-check.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

6:1 [truthy] truthy value should be one of [false, true]
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened, ready_for_review]
Expand All @@ -16,7 +16,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Lint and Test

Check warning on line 1 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

1:1 [document-start] missing document start "---"

# This workflow runs linting and tests on PRs and pushes to main
# It ensures code quality and prevents broken code from being merged

on:

Check warning on line 6 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

6:1 [truthy] truthy value should be one of [false, true]
pull_request:
branches: [ main ]

Check failure on line 8 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

8:21 [brackets] too many spaces inside brackets

Check failure on line 8 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

8:16 [brackets] too many spaces inside brackets
push:
branches: [ main ]

Check failure on line 10 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

10:21 [brackets] too many spaces inside brackets

Check failure on line 10 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

10:16 [brackets] too many spaces inside brackets
workflow_dispatch:

jobs:
Expand All @@ -18,7 +18,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Python
uses: actions/setup-python@v5
Expand All @@ -38,7 +38,7 @@
- name: Run Pylint
run: |
echo "Running Pylint..."
pylint --max-line-length=100 --disable=C0114,C0115,C0116 update_badges.py || echo "Pylint completed with warnings"

Check failure on line 41 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

41:121 [line-length] line too long (124 > 120 characters)
continue-on-error: true

- name: Run MyPy
Expand All @@ -60,7 +60,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Python
uses: actions/setup-python@v5
Expand All @@ -75,7 +75,7 @@
- name: Run yamllint
run: |
echo "Running yamllint on workflow files..."
yamllint -d '{extends: default, rules: {line-length: {max: 120}, comments: {min-spaces-from-content: 1}}}' .github/workflows/ || true

Check failure on line 78 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

78:121 [line-length] line too long (143 > 120 characters)
continue-on-error: true

- name: Validate action.yml
Expand All @@ -90,7 +90,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Python
uses: actions/setup-python@v5
Expand All @@ -107,20 +107,20 @@
mkdir -p test_badges
cat > test_readme.md << 'EOF'
# Test Project

Check failure on line 110 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

110:1 [trailing-spaces] trailing spaces
Some content here.
EOF

Check failure on line 113 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

113:1 [trailing-spaces] trailing spaces
# Create dummy badge files
echo '<svg></svg>' > test_badges/pylint.svg
echo '<svg></svg>' > test_badges/black.svg
echo '<svg></svg>' > test_badges/mypy.svg

Check failure on line 118 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

118:1 [trailing-spaces] trailing spaces
# Test with relative paths
python3 update_badges.py \
--readme test_readme.md \
--badges-dir test_badges

Check failure on line 123 in .github/workflows/lint-test.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

123:1 [trailing-spaces] trailing spaces
# Verify output
if ! grep -q "linting-badges-start" test_readme.md; then
echo "Error: Script did not update README"
Expand All @@ -137,7 +137,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Run shellcheck on embedded scripts
run: |
Expand All @@ -153,7 +153,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Python
uses: actions/setup-python@v5
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release and Marketplace

Check warning on line 1 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

1:1 [document-start] missing document start "---"

# This workflow handles automatic semantic versioning, tagging, and GitHub Marketplace submission
# It runs when changes are pushed to main and creates releases based on changelog entries

on:

Check warning on line 6 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

6:1 [truthy] truthy value should be one of [false, true]
push:
branches: [ main ]
workflow_dispatch:
Expand All @@ -24,7 +24,7 @@
release_notes: ${{ steps.extract.outputs.release_notes }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -72,7 +72,7 @@
previous_version: ${{ steps.version.outputs.previous_version }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -154,7 +154,7 @@
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Security Audit

Check warning on line 1 in .github/workflows/security-audit.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

1:1 [document-start] missing document start "---"

# This workflow performs automated security audits
# It checks for vulnerabilities and security issues in dependencies and code

on:

Check warning on line 6 in .github/workflows/security-audit.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

6:1 [truthy] truthy value should be one of [false, true]
schedule:
# Run daily at 2 AM UTC
- cron: '0 2 * * *'
Expand All @@ -22,7 +22,7 @@
if: github.event_name == 'pull_request'
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Dependency Review
uses: actions/dependency-review-action@v3
Expand All @@ -36,7 +36,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -104,7 +104,7 @@
language: [ 'python' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand All @@ -127,7 +127,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand All @@ -146,7 +146,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Check workflow permissions
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Test GitHub Action

Check warning on line 1 in .github/workflows/test-action.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

1:1 [document-start] missing document start "---"

# This workflow tests all features of the Python Linting GitHub Action
# It validates that all action inputs work correctly and that the action
# properly executes linting tools and badge generation

on:

Check warning on line 7 in .github/workflows/test-action.yml

View workflow job for this annotation

GitHub Actions / Lint YAML Files

7:1 [truthy] truthy value should be one of [false, true]
pull_request:
branches: [ main ]
paths:
Expand All @@ -28,7 +28,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Create test Python file
run: |
Expand Down Expand Up @@ -57,7 +57,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Create test Python file
run: |
Expand Down Expand Up @@ -89,7 +89,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Create test files
run: |
Expand Down Expand Up @@ -124,7 +124,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Create test Python file
run: |
Expand Down Expand Up @@ -171,7 +171,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Create test files
run: |
Expand Down Expand Up @@ -224,7 +224,7 @@
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -289,7 +289,7 @@
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Create test Python file
run: |
Expand Down
Loading