workflow-dispatch | GitHub Action for triggering workflows | Continous Integration library

 by   benc-uk TypeScript Version: v1.2.2 License: MIT

kandi X-RAY | workflow-dispatch Summary

kandi X-RAY | workflow-dispatch Summary

workflow-dispatch is a TypeScript library typically used in Devops, Continous Integration applications. workflow-dispatch has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A GitHub Action for triggering workflows, using the `workflow_dispatch` event
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              workflow-dispatch has a low active ecosystem.
              It has 230 star(s) with 81 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 33 have been closed. On average issues are closed in 259 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of workflow-dispatch is v1.2.2

            kandi-Quality Quality

              workflow-dispatch has 0 bugs and 0 code smells.

            kandi-Security Security

              workflow-dispatch has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              workflow-dispatch code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              workflow-dispatch is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              workflow-dispatch releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of workflow-dispatch
            Get all kandi verified functions for this library.

            workflow-dispatch Key Features

            No Key Features are available at this moment for workflow-dispatch.

            workflow-dispatch Examples and Code Snippets

            No Code Snippets are available at this moment for workflow-dispatch.

            Community Discussions

            QUESTION

            Getting "not found" after authenticating when trying to initiate GitHub workflow via REST
            Asked 2022-Jan-17 at 11:10

            I am trying to trigger the workflow_dispatch action for a GitHub workflow via REST but I am getting a "not found" error.

            My question is similar to this one but the difference is that I am still getting the "not found" error even though the header indicates I am authenticated (the rate limit has increased to 5,000).

            Here's my script:

            ...

            ANSWER

            Answered 2022-Jan-17 at 11:10

            The machine user needs to have write access, not read access.

            This is true even if the workflow does something like run CI tests and does not write any code.

            Source https://stackoverflow.com/questions/70740116

            QUESTION

            Correct request with client-payload to run workflow_dispatch in github action
            Asked 2021-Nov-18 at 14:05

            I create simple github action with workflow_dispatch.

            ...

            ANSWER

            Answered 2021-Nov-18 at 14:05

            It seems you are confusing 2 workflows triggers event that are available on Github Actions.

            The workflow_dispatch and the repository_dispatch event.

            Create a Workflow Dispatch event

            To trigger a workflow_dispatch event remotely, you need to use the following endpoint:

            Source https://stackoverflow.com/questions/69925264

            QUESTION

            Watch GH Actions workflow output in CLI?
            Asked 2021-Nov-09 at 20:17

            I am trying to execute a github workflow via the CLI, on a particular branch. The documentation for this is available here https://cli.github.com/manual/gh_workflow_run

            Is it possible to somehow get the same kind of logs you get with the browser UI in the terminal? I would like to programmatically interact with it.

            If its possible with their rest api, then that is even better. https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event As per the docs, it just returns a Status: 204 No Content.

            ...

            ANSWER

            Answered 2021-Nov-09 at 20:17

            It's possible to do trigger a workflow remotely using the Github API with the dispatch_event API you mentioned.

            The Github CLI have various command for workflow (to run, list, view, enable ou disable). You can find more information on the official documentation

            To get the logs from the Github CLI, as explained here, you can use commands such as:

            Source https://stackoverflow.com/questions/69893875

            QUESTION

            How to send multi line string in json in GitHub actions?
            Asked 2021-Sep-16 at 15:59

            I am working on GitHub actions, and I have a case where I need to send a multiline string as json. I am getting some unexpected token error.

            This is my test.md and workflow:

            ...

            ANSWER

            Answered 2021-Sep-16 at 15:59

            There seem to be 2 issues you have in provided example.

            1. your string substitution seems invalid. that should be something like this.

            Source https://stackoverflow.com/questions/68949223

            QUESTION

            Triggering Github Action using a POST request (Github REST API)
            Asked 2021-Jun-09 at 06:39

            I have a private GitHub repository hosted in a GitHub organization. The repo contains a GitHub Action with the workflow_dispatch option (cf. GitHub Documentation).

            Excerpt from the Action YAML file:

            ...

            ANSWER

            Answered 2021-Jun-07 at 20:09

            following this instruction https://goobar.dev/manually-trigger-a-github-actions-workflow/ you do probably most of it correct

            try to run it on LINUX with curl -H "Accept: application/vnd.github+json" -H "Authorization: token your-token" --request POST --data '{"event_type": "do-something"}' https://api.github.com/repos/yourname/yourrepo/dispatches

            On Windows: cURL POST command does not work on Windows Command Prompt because single quotes are used see https://github.com/spring-guides/gs-accessing-data-rest/issues/11

            Source https://stackoverflow.com/questions/67876177

            QUESTION

            Can Personal Access Token with limited scope be shared with other users?
            Asked 2021-Apr-09 at 08:08

            I'm building a CLI which triggers an Action (using workflow_dispatch) in my repository. I'm using Github API to perform this task. Taken from the docs:

            You must authenticate using an access token with the repo scope to use this endpoint.

            I've generated a PAT with repo scope to authenticate myself. I want users to run this CLI. Is it safe to share this PAT (which has repo as the only scope)?

            p.s. I know it is ironical to ask if "Personal"-access-token can be "shared". But I don't see any problem it can cause with its limited scope.

            ...

            ANSWER

            Answered 2021-Apr-09 at 08:08

            I don't think it is a good idea. Repo scope is not limited to only one repo.

            If you want to trigger actions by external users, your best bet would probably be to create a workflow running on PR or Issue events.

            • Allow your users to create issues
            • Monitor keywords or label on the issue
            • Trigger your action.

            Source https://stackoverflow.com/questions/67006662

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install workflow-dispatch

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/benc-uk/workflow-dispatch.git

          • CLI

            gh repo clone benc-uk/workflow-dispatch

          • sshUrl

            git@github.com:benc-uk/workflow-dispatch.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Continous Integration Libraries

            chinese-poetry

            by chinese-poetry

            act

            by nektos

            volkswagen

            by auchenberg

            phpdotenv

            by vlucas

            watchman

            by facebook

            Try Top Libraries by benc-uk

            kubeview

            by benc-ukJavaScript

            armview-vscode

            by benc-ukTypeScript

            icon-collection

            by benc-ukHTML

            dapr-store

            by benc-ukGo

            smilr

            by benc-ukJavaScript