diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 848acaf07..d155818e5 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,7 +4,10 @@ updates: directory: "/" schedule: interval: "daily" + labels: [] - package-ecosystem: "cargo" directories: ["/", "src/tests/rust_guests/simpleguest","src/tests/rust_guests/callbackguest"] schedule: interval: "daily" + labels: + - "area/dependencies" diff --git a/.github/workflows/PRLabelChecker.yml b/.github/workflows/PRLabelChecker.yml index c6fb3363e..750b0d555 100644 --- a/.github/workflows/PRLabelChecker.yml +++ b/.github/workflows/PRLabelChecker.yml @@ -14,6 +14,11 @@ jobs: - uses: actions/checkout@v4 - name: Check for specific labels run: | + # ignore dependabot PRs + if [[ ${{ github.actor }} == "dependabot[bot]" ]]; then + echo "Ignoring dependabot PRs." + exit 0 + fi # Fetch repository labels from the GitHub API REPO_LABELS=$(gh api repos/${{ github.repository }}/labels --jq '.[].name')