Skip to content

Commit

Permalink
workflow dispatch manual (#148)
Browse files Browse the repository at this point in the history
* allow manuall artifact generation on main

* typo
  • Loading branch information
OmkarDeshpande7 authored Jan 21, 2025
1 parent e97fa81 commit 969e853
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/packer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ jobs:
echo "release_found=true" >> $GITHUB_ENV
fi
- name: Check if manual trigger from main branch
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main'
run: echo "release_found=true" >> $GITHUB_ENV
id: check_manual_trigger

- name: Enable KVM group perms
if: env.release_found == 'true'
run: |
Expand Down

0 comments on commit 969e853

Please sign in to comment.