Skip to content

Commit 8a60663

Browse files
author
ismay
authored
ci: fix main branch ref in concurrency expression (#626)
* fix: fix main branch ref in concurrency expression * fix: fix comment and close expression
1 parent aa67e09 commit 8a60663

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/comment-and-close.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ on:
77
jobs:
88
comment-and-close:
99
uses: dhis2/workflows-platform/.github/workflows/comment-and-close.yml@v1
10-
if: '!contains(github.event.issue.sender.login , fromJson(''["dhis2-bot", "kodiakhq", "dependabot"]''))'
10+
if: '!contains(fromJson(''["dhis2-bot", "kodiakhq", "dependabot"]''), github.event.issue.sender.login)'
1111
with:
1212
issue_number: ${{ github.event.issue.number }}

.github/workflows/test-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: push
55
concurrency:
66
group: ${{ github.workflow }}-${{ github.ref }}
77
# Cancel previous runs if not on a release branch
8-
cancel-in-progress: ${{ !contains(fromJSON('["refs/heads/master", "ref/heads/main"]'), github.ref) }}
8+
cancel-in-progress: ${{ !contains(fromJSON('["refs/heads/master", "refs/heads/main"]'), github.ref) }}
99

1010
jobs:
1111
lint-commits:

0 commit comments

Comments
 (0)