ahmadnassri / action-dependabot-auto-merge

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

Action fails to find auto-merge.yml #17

Closed AlCalzone closed 4 years ago

AlCalzone commented 4 years ago

With v2.0.2, the action now does what it is supposed to do, but looking at my logs, it still falls back to the default config (using workflow's "target") instead of reading .github/auto-merge.yml.

Any idea what might be causing this?

ahmadnassri commented 4 years ago

I'm still looking into this, I think I'm gonna add a mock docker environment in docker-compose to mimic the actions runtime ...

ahmadnassri commented 4 years ago

oh, quick question .... did you checkout before running this action in your workflow?

ahmadnassri commented 4 years ago

I've updated the doc to clearly indicate the use of checkout before calling this action ... let me know if that is the cause.

AlCalzone commented 4 years ago

Yeah, that was it 😓

Maxim-Mazurok commented 3 years ago

I've updated the doc to clearly indicate the use of checkout before calling this action ... let me know if that is the cause.

It's not really clear from the README why we need checkout. Would be great to add this explanation. I was wondering if I need it if I don't use auto-merge config.