Skip to content

Bump pylint from 4.0.6 to 4.0.7 #267

Bump pylint from 4.0.6 to 4.0.7

Bump pylint from 4.0.6 to 4.0.7 #267

name: validate csharp dependabot config
on:
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
permissions: {}
jobs:
validate-csharp-dependabot-config:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- run: |
cs_projects=$(find . -name "*.csproj" | cut -c 2-)
exit_code=0
for project in $cs_projects; do
project_directory=${project%/*}
echo "[INFO] project directory is: $project_directory"
if ! grep -qE "\- $project_directory/" .github/dependabot.yml; then
echo "[ERROR] $project_directory missing from .github/dependabot.yml configuration"
exit_code=1
fi
done
exit $exit_code