Skip to content

Commit

Permalink
CI: don't run test and deploy on forks
Browse files Browse the repository at this point in the history
Since forks don't have a valid token, CI fails there.
Deployment from forks shall never happen.


Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
axel-h committed Jan 24, 2024
1 parent 7dae5f3 commit a5e8082
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/camkes-vm-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
name: Hardware
runs-on: ubuntu-latest
needs: [build]
if: ${{ github.repository_owner == 'seL4' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -84,6 +85,7 @@ jobs:
name: Deploy manifest
runs-on: ubuntu-latest
needs: [code, hw-run]
if: ${{ github.repository_owner == 'seL4' }}
steps:
- name: Deploy
uses: seL4/ci-actions/manifest-deploy@master
Expand Down

0 comments on commit a5e8082

Please sign in to comment.