Skip to content

Commit

Permalink
ci: run on pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton authored Nov 15, 2024
1 parent ef80204 commit 29d6ed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Kernel Build ARM64
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
jobs:
build:
Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:
${{ format('{0}/rpmbuild/RPMS/aarch64/kernel-{0}*.rpm', matrix.variant) }}
${{ format('{0}/rpmbuild/SRPMS/kernel-{0}*.src.rpm', matrix.variant) }}
- name: Upload packages to Subatomic
if: github.event_name == 'push'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
${{ format('{0}/rpmbuild/RPMS/x86_64/kernel-{0}*.rpm', matrix.variant) }}
${{ format('{0}/rpmbuild/SRPMS/kernel-{0}*.src.rpm', matrix.variant) }}
- name: Upload packages to Subatomic
if: github.event_name == 'push'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
Expand Down

0 comments on commit 29d6ed2

Please sign in to comment.