|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
- name: Upload to latest release
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- if: github.ref == 'refs/heads/main'
|
|
|
+ if: ${{ github.ref == 'refs/heads/main' && github.repository == 'BlueSCSI/BlueSCSI-v2' }}
|
|
|
run: |
|
|
|
cd BlueSCSI
|
|
|
git tag -d latest
|
|
|
@@ -52,7 +52,7 @@ jobs:
|
|
|
- name: Upload to newly created release
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
|
+ if: ${{ startsWith(github.ref, 'refs/tags/') && github.repository == 'BlueSCSI/BlueSCSI-v2' }}
|
|
|
run: |
|
|
|
cd BlueSCSI/distrib
|
|
|
RELEASE=$(basename ${{github.ref}})
|