Difference between revisions of "GitHub actions: workflow dispatch"
Jump to navigation
Jump to search
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[on:]] workflow_dispatch # for [[manual trigger]] | |
− | [[on:]] workflow_dispatch # for manual trigger | ||
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch | https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch | ||
+ | |||
+ | |||
+ | [[on:]] | ||
+ | [[workflow_dispatch]]: | ||
+ | [[inputs]]: | ||
+ | |||
+ | [[on:]] | ||
+ | [[workflow_dispatch]]: | ||
+ | [[inputs]]: | ||
+ | [[tags]]: | ||
+ | [[environments]]: | ||
+ | |||
+ | |||
+ | https://github.com/skills/release-based-workflow/blob/main/.github/workflows/7-create-hotfix-release.yml | ||
+ | on: | ||
+ | workflow_dispatch: | ||
+ | release: | ||
+ | types: [published] | ||
+ | |||
+ | == Errors == | ||
+ | * <code>[[Workflow does not exist or does not have a workflow_dispatch trigger in this branch]].</code> | ||
Line 7: | Line 27: | ||
* <code>[[gh workflow run workflow]]</code> | * <code>[[gh workflow run workflow]]</code> | ||
* <code>[[imageName]]</code> | * <code>[[imageName]]</code> | ||
+ | * <code>[[repository_dispatch]]</code> | ||
+ | * [[my-docker-publish.yml]] | ||
== See also == | == See also == | ||
+ | * {{workflow_dispatch}} | ||
+ | * {{on}} | ||
* {{GitHub}} | * {{GitHub}} | ||
[[Category:GitHub]] | [[Category:GitHub]] |
Latest revision as of 11:37, 26 May 2023
on: workflow_dispatch # for manual trigger https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
on: workflow_dispatch: inputs:
on: workflow_dispatch: inputs: tags: environments:
on: workflow_dispatch: release: types: [published]
Errors[edit]
Related[edit]
See also[edit]
- workflow_dispatch
- on:
- GitHub, GitHub Actions, GitHub Actions Runner, Events, CodeQL, GitHub Desktop, GitHub organization, base permissions, GitHub Copilot,
.gitignore
, GitHub Codespaces, GitHub Marketplace, GitHub Apps, GitHub Enterprise Server, GitHub CLI (gh
), Dependabot, GitHub security,.github/
, GitHub code scanning, GitHub Pages, GitHub Packages, GitHub Advanced Security, GitHub Mobile, GitHub Importer, GitHub versions, SSH keys
Advertising: