github-action-merge-dependabot icon indicating copy to clipboard operation
github-action-merge-dependabot copied to clipboard

Pass the default github token to the github-token input

Open smorimoto opened this issue 1 year ago • 4 comments

As the title says...

Checklist

smorimoto avatar Aug 30 '22 03:08 smorimoto

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

github-actions[bot] avatar Aug 30 '22 03:08 github-actions[bot]

Are you sure that this works? I can't find anything in the docs suggesting that you can specify dynamic default values for action inputs. Do you have a sample repo showing that this works?

simoneb avatar Aug 30 '22 10:08 simoneb

I see similar approach on actions/checkout.

https://github.com/actions/checkout/blob/main/action.yml#L12-L24

climba03003 avatar Aug 30 '22 10:08 climba03003

Ah that's pretty cool, too bad this is not in the docs!

@smorimoto can you please update the docs to reflect this?

simoneb avatar Aug 30 '22 10:08 simoneb