Only execute workflows in the main project.

This commit is contained in:
fewtarius 2022-04-11 18:15:27 -04:00
parent af363faf25
commit baeda6ced7
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 10 additions and 2 deletions

View file

@ -15,7 +15,7 @@ env:
BRANCH: dev
jobs:
launch-dev-release-if-needed:
launch-dev-release:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
@ -24,7 +24,11 @@ jobs:
clean: false
fetch-depth: 0
ref: "${{env.BRANCH}}"
- name: only run on the primary repository
if: ${{ !startsWith(github.repository_owner, 'JustEnoughLinuxOS') }}
run: exit 0
- name: repository full name
id: full_name
run: |

View file

@ -21,6 +21,10 @@ jobs:
clean: false
fetch-depth: 0
ref: "${{env.BRANCH}}"
- name: only run on the primary repository
if: ${{ !startsWith(github.repository_owner, 'JustEnoughLinuxOS') }}
run: exit 0
- name: repository full name
id: full_name