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

Add an owner check for release workflows to avoid running it on forks #153

Merged
merged 5 commits into from
Sep 19, 2023
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: "qemux86_64"
# Eclipse Foundation: Label for large GitHub Build runners (paid)
# See Eclipse HelpDesk #1915
runs-on: ["LargeRunner_16cores_64GB_600GB", "self-hosted"]
runs-on: "LargeRunner_16cores_64GB_600GB"
# runs-on: ubuntu-22.04
# runs-on: self-hosted
# container: debian:bullseye
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ on:
jobs:
call-build:
name: Build
if: github.repository_owner == 'eclipse-leda'
uses: ./.github/workflows/build.yml
secrets: inherit

upload-assets:
name: Upload assets
if: github.repository_owner == 'eclipse-leda'
runs-on: ubuntu-22.04
needs: [ call-build ]
permissions:
Expand Down