Merge pull request 'only build releases in a forgejo-integration organization' (#31) from earl-warren/runner:wip-build into main

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/31
This commit is contained in:
earl-warren 2023-05-23 18:59:40 +00:00
commit bc0db9b2df

View file

@ -7,6 +7,8 @@ on:
jobs: jobs:
release: release:
runs-on: self-hosted runs-on: self-hosted
# root is used for testing, allow it
if: github.repository_owner == 'forgejo-integration' || github.repository_owner == 'root'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3