I have the following github code, it doesn't take input parameters, I just need it to be able to execute the action on github when I want.
But github marks me as a warning, how can I do?
on:
workflow_dispatch:
inputs:
name: Build
jobs:
....
I just need it to be able to execute the action on github when I want.
That sounds like a manual trigger: Manually running a workflow.
on: workflow_dispatch
(ref: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch)
It shows its default form with no further elements like the inputs
you have. Just remove them.