-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (33 loc) · 1.01 KB
/
.merge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Merge
on:
pull_request:
branches: [dev]
types: [closed]
concurrency:
# PR open and close use the same group, allowing only one at a time
group: pr-${{ github.workflow }}-${{ github.event.number }}
cancel-in-progress: true
jobs:
deploys:
name: Deploys Anitvirus
environment: tools
permissions:
issues: write
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- name: clamav
file: containers/clamav/openshift/templates/clamav-dc.yaml
overwrite: false
steps:
- uses: bcgov-nr/[email protected]
with:
file: ${{ matrix.file }}
oc_namespace: ${{ vars.OC_NAMESPACE }}
oc_server: ${{ vars.OC_SERVER }}
oc_token: ${{ secrets.OC_TOKEN }}
overwrite: ${{ matrix.overwrite }}
parameters: -p ZONE=prod -p NAME=${{ github.event.repository.name }}
repository: ${{ matrix.repository }}
verification_path: ${{ matrix.verification_path }}