Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cross-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
env:
branch_name: ${{ github.head_ref }}
run: |
curl --silent -X "GET" https://api.github.com/repos/debezium/debezium/pulls | jq '.[] | {branch: .head.ref}' | jq -r '.branch' >> SORTED_PULLS.txt
curl --silent -X "GET" https://api.github.com/repos/RedisLabs/debezium/pulls | jq '.[] | {branch: .head.ref}' | jq -r '.branch' >> SORTED_PULLS.txt

while IFS=" " read -r BRANCH;
do
Expand All @@ -54,7 +54,7 @@ jobs:
if: ${{ steps.branch.outputs.BRANCH_FOUND != 'true' }}
uses: actions/checkout@v5
with:
repository: debezium/debezium
repository: RedisLabs/debezium
ref: ${{ github.base_ref }}
path: core
- name: Set up JDK
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sanity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Commit message
runs-on: ubuntu-latest
steps:
- name: Commit messages in format DBZ-xxx
- name: Commit messages in format RDSC-xxx
id: check
env:
pull_request_number: ${{ github.event.pull_request.number }}
Expand Down Expand Up @@ -72,14 +72,14 @@ jobs:
while IFS= read -r line;
do
echo "-> checking: $line"
if [[ ! $line =~ (^DBZ-[[:digit:]]+)|(\[release\])|(\[jenkins-jobs\])|(\[docs\])|(\[maven-release-plugin\])|(\[ci\]) ]]; then
if [[ ! $line =~ (^RDSC-[[:digit:]]+)|(\[release\])|(\[jenkins-jobs\])|(\[docs\])|(\[maven-release-plugin\])|(\[ci\]) ]]; then
NON_PREFIX_COMMITS="${NON_PREFIX_COMMITS} -> ${line}\n"
fi
done < COMMIT_MSGS.txt

if [[ -n $NON_PREFIX_COMMITS ]]; then
echo "========================================================================"
echo " COMMIT MESSAGES WITH MISSING \"DBZ\" PREFIX"
echo " COMMIT MESSAGES WITH MISSING \"RDSC\" PREFIX"
echo "========================================================================"
echo -e "$NON_PREFIX_COMMITS"
echo "PREFIX_COMMITS=false" >> $GITHUB_OUTPUT
Expand All @@ -94,12 +94,12 @@ jobs:
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Hi @${{ github.event.pull_request.user.login }}, thanks for your contribution. Please prefix the commit message(s) with the [DBZ-xxx JIRA issue key](https://github.com/debezium/debezium/blob/main/CONTRIBUTE.md#making-changes).
Hi @${{ github.event.pull_request.user.login }}, thanks for your contribution. Please prefix the commit message(s) with the [RDSC-xxx JIRA issue key](https://github.com/debezium/debezium/blob/main/CONTRIBUTE.md#making-changes).

- name: Check failure
if: ${{ steps.check.outputs.PREFIX_COMMITS == 'false' }}
uses: actions/github-script@v8
continue-on-error: false
with:
script: |
throw new Error('Commit has no DBZ-xxx prefix')
throw new Error('Commit has no RDSC-xxx prefix')
Loading