Skip to content

Commit

Permalink
cause workflow to run on merged pr or manual trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavilaNIH authored May 24, 2024
1 parent 9c04ad4 commit ee06aec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ name: Update theme

on:
workflow_dispatch:
pull_request:
types:
- closed
branches:
- main

jobs:
update_theme:
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand Down

0 comments on commit ee06aec

Please sign in to comment.