Merge pull request #447 from arduino/dependabot/npm_and_yarn/prettier… #159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Dependabot Configuration | |
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows | |
on: | |
push: | |
paths: | |
- ".github/workflows/check-dependabot.yml" | |
- "Taskfile.ya?ml" | |
- "**/dependabot.ya?ml" | |
pull_request: | |
paths: | |
- ".github/workflows/check-dependabot.yml" | |
- "Taskfile.ya?ml" | |
- "**/dependabot.ya?ml" | |
schedule: | |
# Run periodically to catch breakage caused by external changes. | |
- cron: "0 17 * * WED" | |
workflow_dispatch: | |
repository_dispatch: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
permissions: {} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
version: 3.x | |
- name: Validate Dependabot configuration files | |
run: task dependabot:validate |