Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/dismiss-dev-only-dependabot-alerts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Dismiss Dependabot alerts for dependencies not used in production

on:
schedule:
- cron: "0 6 * * 1" # Monday 06:00 UTC
workflow_dispatch:
inputs:
dry-run:
type: boolean
default: true
description: "When true, decisions are logged to the job summary but no alerts are dismissed."

jobs:
dismiss:
permissions:
contents: read
uses: infinum/android-github-actions-workflows/.github/workflows/dismiss-dev-only-dependabot-alerts.yml@main
Comment thread
antunflas marked this conversation as resolved.
with:
dry-run: ${{ inputs.dry-run || false }}
Comment thread
antunflas marked this conversation as resolved.
client-id: ${{ vars.DEPENDABOT_DISMISSER_BOT_APP_ID }}
secrets:
app-private-key: ${{ secrets.DEPENDABOT_DISMISSER_BOT_PRIVATE_KEY }}