Skip to content

Commit

Permalink
[infra/github] Check org name for jobs (#14568)
Browse files Browse the repository at this point in the history
This commit adds a org name check to run on original repo only.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh authored Jan 21, 2025
1 parent d49a507 commit f9d691b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-dev-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
# Build on docker CLI for PR test without login
build-pr-test:
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && github.repository_owner == 'Samsung'
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-onert-gbs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ defaults:

jobs:
build:
if: github.repository_owner == 'Samsung'
strategy:
matrix:
arch: ['armv7l'] # TODO: Add aarch64, x86_64, etc
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-tools-mec-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ defaults:

jobs:
test:
if: github.repository_owner == 'Samsung'
strategy:
matrix:
# TODO add more versions
Expand Down

0 comments on commit f9d691b

Please sign in to comment.