Skip to content

Commit

Permalink
feat: add param for github environments (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Oct 3, 2024
1 parent 48e322c commit 2e9b1af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/.pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
description: 'Type of cleanup; e.g. helm or label'
required: false
type: string
environment:
description: Environment name; omit for PRs
required: false
type: string
oc_server:
default: https://api.silver.devops.gov.bc.ca:6443
description: 'OpenShift server'
Expand Down Expand Up @@ -138,6 +142,7 @@ jobs:
cleanup:
name: OpenShift
if: inputs.cleanup == 'helm' || inputs.cleanup == 'label'
environment: ${{ inputs.environment }}
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
Expand Down

0 comments on commit 2e9b1af

Please sign in to comment.