Skip to content

Commit 492c134

Browse files
committed
Fix release notes condition
Removes an extra exclamation point in the condition for the release notes that was making the logic the opposite of what we need.
1 parent 22c165b commit 492c134

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77
- release-*
88
tags:
9-
- 'v[0-9]+.[0-9]+.[0-9]+'
9+
- "v[0-9]+.[0-9]+.[0-9]+"
1010
pull_request:
1111
branches:
1212
- main
@@ -16,7 +16,7 @@ on:
1616
- reopened
1717
- synchronize
1818
schedule:
19-
- cron: '0 4 * * *' # run every day at 04:00 UTC
19+
- cron: "0 4 * * *" # run every day at 04:00 UTC
2020

2121
defaults:
2222
run:
@@ -27,7 +27,6 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
jobs:
30-
3130
checks:
3231
name: Checks and variables
3332
runs-on: ubuntu-22.04
@@ -84,16 +83,16 @@ jobs:
8483
release:
8584
runs-on: ubuntu-22.04
8685
needs: [checks, unit-tests]
87-
if: ${{ github.event_name == 'push' && ! github.ref != 'refs/heads/main' }}
86+
if: ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' }}
8887
steps:
8988
- name: Checkout Repository
9089
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
9190

9291
- name: Create/Update Draft
9392
uses: lucacome/draft-release@b79be3ff634f771230b2b6ee9f47308c5793671a # v0.2.0
9493
with:
95-
minor-label: 'enhancement'
96-
major-label: 'change'
94+
minor-label: "enhancement"
95+
major-label: "change"
9796
publish: ${{ startsWith(github.ref, 'refs/tags/') }}
9897
collapse-after: 50
9998
variables: |
@@ -163,10 +162,10 @@ jobs:
163162
strategy:
164163
matrix:
165164
include:
166-
- image: debian
167-
type: oss
168-
- image: debian-plus
169-
type: plus
165+
- image: debian
166+
type: oss
167+
- image: debian-plus
168+
type: plus
170169
steps:
171170
- name: Checkout Repository
172171
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
@@ -181,7 +180,7 @@ jobs:
181180
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
182181
with:
183182
file: build/Dockerfile
184-
context: '.'
183+
context: "."
185184
cache-from: type=gha,scope=${{ matrix.image }}
186185
target: goreleaser
187186
tags: ${{ matrix.type }}:${{ github.sha }}
@@ -270,7 +269,7 @@ jobs:
270269
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
271270
with:
272271
file: tests/docker/Dockerfile
273-
context: '.'
272+
context: "."
274273
cache-from: type=gha,scope=test-runner
275274
cache-to: type=gha,scope=test-runner,mode=max
276275
tags: test-runner:${{ github.sha }}
@@ -308,13 +307,14 @@ jobs:
308307
name: Build Docker OSS
309308
needs: smoke-tests
310309
strategy:
311-
fail-fast: false
312-
matrix:
313-
image: [debian, alpine]
314-
platforms: ["linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"]
315-
include:
316-
- image: ubi
317-
platforms: "linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"
310+
fail-fast: false
311+
matrix:
312+
image: [debian, alpine]
313+
platforms:
314+
["linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"]
315+
include:
316+
- image: ubi
317+
platforms: "linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"
318318
uses: ./.github/workflows/build-oss.yml
319319
with:
320320
platforms: ${{ matrix.platforms }}
@@ -325,15 +325,15 @@ jobs:
325325
name: Build Docker Plus
326326
needs: build-docker
327327
strategy:
328-
fail-fast: false
329-
matrix:
330-
image: [debian-plus, alpine-plus]
331-
platforms: ["linux/arm64, linux/amd64"]
332-
target: [goreleaser, aws]
333-
include:
334-
- image: ubi-plus
335-
platforms: "linux/arm64, linux/amd64, linux/s390x"
336-
target: goreleaser
328+
fail-fast: false
329+
matrix:
330+
image: [debian-plus, alpine-plus]
331+
platforms: ["linux/arm64, linux/amd64"]
332+
target: [goreleaser, aws]
333+
include:
334+
- image: ubi-plus
335+
platforms: "linux/arm64, linux/amd64, linux/s390x"
336+
target: goreleaser
337337
uses: ./.github/workflows/build-plus.yml
338338
with:
339339
platforms: ${{ matrix.platforms }}
@@ -345,12 +345,12 @@ jobs:
345345
name: Build Docker NAP
346346
needs: build-docker-plus
347347
strategy:
348-
fail-fast: false
349-
matrix:
350-
image: [debian-plus-nap, ubi-plus-nap]
351-
platforms: ["linux/amd64"]
352-
target: [goreleaser, aws]
353-
nap_modules: [dos, waf, "waf,dos"]
348+
fail-fast: false
349+
matrix:
350+
image: [debian-plus-nap, ubi-plus-nap]
351+
platforms: ["linux/amd64"]
352+
target: [goreleaser, aws]
353+
nap_modules: [dos, waf, "waf,dos"]
354354
uses: ./.github/workflows/build-plus.yml
355355
with:
356356
platforms: ${{ matrix.platforms }}

0 commit comments

Comments
 (0)