ahmadnassri / action-dependabot-auto-merge

Automatically merge Dependabot PRs when version comparison is within range
MIT License
342 stars 48 forks source link

Allow action to run based on a manuell trigger #22

Closed DutchmanNL closed 3 years ago

DutchmanNL commented 4 years ago

hi, thanks for this workflow I like it ! Would be nice to allow manual triggering the workflow currently that runs into an error ;

https://github.com/iobroker-community-adapters/ioBroker.coronavirus-statistics/runs/1111509298?check_suite_focus=true#step:4:8

Example action definition for manual run :

on:
  pull_request:
  workflow_dispatch:
    inputs:
      logLevel:
        description: 'Log level'     
        required: true
        default: 'warning'
      tags:
        description: 'Test scenario tags'  
ahmadnassri commented 4 years ago

right now there is a hard check on the "author" of the workflow to be "dependabot" ...

if you are willing to add the extra check to test for manual triggers, then I'd be happy to merge that pull request

DutchmanNL commented 3 years ago

if you are willing to add the extra check to test for manual triggers, then I'd be happy to merge that pull request

as I am not able to make that enhancement I will close this issue