Only execute workflows in the main project.
This commit is contained in:
parent
af363faf25
commit
baeda6ced7
2 changed files with 10 additions and 2 deletions
8
.github/workflows/release-dev.yaml
vendored
8
.github/workflows/release-dev.yaml
vendored
|
@ -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: |
|
||||
|
|
4
.github/workflows/release-main.yaml
vendored
4
.github/workflows/release-main.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue