diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-08-20 07:23:32 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-08-20 07:23:32 +0800 |
| commit | 94493f8e11f6c4549258e73d20fa6803ace750c8 (patch) | |
| tree | 7c69b152e5ec8fe11f927ffa3dbcf4440fe029f9 | |
| parent | a66fc38e29a79e92cb73fc26626a482fbfc4ec41 (diff) | |
| download | AeroCore-OS-94493f8e11f6c4549258e73d20fa6803ace750c8.tar.gz AeroCore-OS-94493f8e11f6c4549258e73d20fa6803ace750c8.zip | |
ci: restrict release creation branches
| -rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ff5963..b42fd60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -224,7 +224,9 @@ jobs: generate_release: name: Generate Release needs: [build_push] - if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' && + (github.ref_name == github.event.repository.default_branch || + github.ref_name == 'testing') permissions: contents: write secrets: inherit |
