Closed vavsab closed 2 years ago
GH token can be used to trigger workflows. Please update the docs. It's a bit misleading. Just checked that this works
- name: Invoke workflow without inputs uses: benc-uk/workflow-dispatch@v1 with: workflow: CI token: ${{ secrets.GITHUB_TOKEN }}
https://github.blog/changelog/2022-09-08-github-actions-use-github_token-with-workflow_dispatch-and-repository_dispatch/
https://github.com/benc-uk/workflow-dispatch/pull/43
I've tested this and it's working... :)
Wow, so recent change
https://github.com/benc-uk/workflow-dispatch/pull/44 additionally adds a token input default, making it optional 😄
token
Fixed in v1.2 and master
GH token can be used to trigger workflows. Please update the docs. It's a bit misleading. Just checked that this works