Skip to content

Commit

Permalink
feat: add dispatch trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Dec 10, 2024
1 parent 6de9b2f commit 313a261
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/prune-launch-templates.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
workflow_dispatch:
inputs:
dry_run:
required: false
default: true
max_age_in_days:
required: false
default: 14

jobs:
rerun:
runs-on: ubuntu-latest
steps:
- name: Prune launch templates
uses: ./.github/prune-launch-templates
with:
# inputs:
aws_access_key_id: ${{ env.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ env.AWS_SECRET_ACCESS_KEY }}
aws_region: us-east-2
max_age_in_days: ${{ inputs.max_age_in_days }}
dry_run: ${{ inputs.dry_run }}

0 comments on commit 313a261

Please sign in to comment.