Skip to content

Commit 271cfcc

Browse files
committed
Update condition so manual triggering of job works
1 parent 663211e commit 271cfcc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/namespace_declarations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
# Define a display name:
4343
name: 'Update TypeScript Declarations'
4444

45-
# Only run this job if the pull request was merged:
46-
if: github.event.pull_request.merged == true
45+
# Only run this job if the pull request was merged (or the job was triggered manually):
46+
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
4747

4848
# Define the type of virtual host machine:
4949
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)