Skip to content

Commit

Permalink
Merge pull request #28 from FHIR/dev
Browse files Browse the repository at this point in the history
Allow manual trigger of workflows.
  • Loading branch information
GinoCanessa authored Feb 10, 2025
2 parents ca8d2e6 + 55f4ba1 commit c8b53df
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/argo-ris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:
jobs:
restart_deployment:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Configure Kubectl
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Tests
# Basics from https://learn.microsoft.com/en-us/dotnet/devops/dotnet-test-github-action
on:
push:
branches: [ main ]
paths:
- '**.cs'
- '**.csproj'
pull_request:
branches: [ main ]
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ghcr-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ env:
jobs:
build-and-push-image:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}

permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/nuget-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit c8b53df

Please sign in to comment.