Skip to content

fix: ensure deploy workflow aborts subsequent jobs when a prerequisite explicitly fails #1863

fix: ensure deploy workflow aborts subsequent jobs when a prerequisite explicitly fails

fix: ensure deploy workflow aborts subsequent jobs when a prerequisite explicitly fails #1863

name: "Project triage: Dependabot"
on:
pull_request:
types: [opened]
jobs:
add-to-project-dependabot:
runs-on: ubuntu-latest
# see https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#responding-to-events
if: github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]'
steps:
# https://github.com/actions/add-to-project/issues/563
- uses: actions/add-to-project@v2
with:
project-url: ${{ secrets.USB_PROJECT_URL }}
github-token: ${{ secrets.USB_PROJECT_TOKEN }}