Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO-ISSUE: fix condition error in upstream-sync and main-sync workflows #1555

Merged
Show file tree
Hide file tree
Changes from 13 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
8 changes: 7 additions & 1 deletion .ci/actions/main-sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ inputs:
default: false

runs:
if: github.repository_owner == 'kiegroup'
using: 'composite'
steps:
- name: Terminate if the repository owner is not kiegroup
if: github.repository_owner != 'kiegroup'
shell: bash
run: |
echo "Teminating the workflow: repository owner is not kiegroup"
fantonangeli marked this conversation as resolved.
Show resolved Hide resolved
exit 1
fantonangeli marked this conversation as resolved.
Show resolved Hide resolved

- name: Generate PR ID
id: generate_pr_id
shell: bash
Expand Down
8 changes: 7 additions & 1 deletion .ci/actions/upstream-sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@ inputs:
default: false

runs:
if: github.repository_owner == 'kiegroup'
using: 'composite'
steps:
- name: Terminate if the repository owner is not kiegroup
if: github.repository_owner != 'kiegroup'
shell: bash
run: |
echo "Teminating the workflow: repository owner is not kiegroup"
fantonangeli marked this conversation as resolved.
Show resolved Hide resolved
exit 1

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down
Loading