Skip to content

Commit

Permalink
#108 move dependabot prs to done on close (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam authored Feb 12, 2024
1 parent 520002d commit 6f54f6a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/move-pr-to-done-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: move pr to done dependabot

on:
workflow_call:
inputs:
project:
description: 'Project ID (classic projects not supported).'
required: true
type: string
secrets:
SENZING_GITHUB_PROJECT_RW_TOKEN:
required: true

jobs:
move-pr-to-done-column:
if: ${{ github.actor == 'dependabot[bot]' && github.event.action == 'closed' }}
runs-on: ubuntu-latest

steps:
- name: move PR to Done
uses: leonsteinhaeuser/project-beta-automations@v2.2.1
with:
gh_token: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
organization: ${{ github.repository_owner }}
project_id: ${{ inputs.project }}
resource_node_id: ${{ github.event.pull_request.node_id }}
status_value: "Done"

0 comments on commit 6f54f6a

Please sign in to comment.