Skip to content

Commit

Permalink
ci: add workflow_dispatch triggers (#55)
Browse files Browse the repository at this point in the history
Add a workflow_dispatch trigger to both workflows, allowing manual runs from the UI or CLI.
  • Loading branch information
wpbonelli authored Aug 15, 2024
1 parent acc045d commit f59cba6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/full-dist-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
- master
paths-ignore:
- '**.md'
# workflow_dispatch trigger to start release via GitHub UI or CLI,
# see https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch:
jobs:
get_version:
name: Get current version
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ on:
# if the merge-triggered CI fails or by CI on open PRs.
repository_dispatch:
types: [build]
# workflow_dispatch trigger to start release via GitHub UI or CLI,
# see https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch:
jobs:
get_version:
name: Get current version
Expand Down Expand Up @@ -89,7 +92,7 @@ jobs:
run:
shell: bash
# don't create a release post if triggering event is pull request
if: github.event_name == 'push' || github.event_name == 'schedule'
if: github.event_name != 'pull_request'
steps:

- name: Delete Older Releases
Expand Down

0 comments on commit f59cba6

Please sign in to comment.