Skip to content

Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.7.0 to 4.9.8.1 in /java #45

Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.7.0 to 4.9.8.1 in /java

Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.7.0 to 4.9.8.1 in /java #45

name: validate csharp dependabot config
on:
pull_request:
branches: [main]
permissions: {}
jobs:
validate-csharp-dependabot-config:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
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