Merge pull request #4512 from vector-im/yostyle/disable_bot_on_forked_project
Disable sync data jobs in forks
This commit is contained in:
commit
d00277a81f
@ -7,6 +7,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
sync-emojis:
|
sync-emojis:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# Skip in forks
|
||||||
|
if: github.repository == 'vector-im/element-android'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
@ -39,6 +41,8 @@ jobs:
|
|||||||
|
|
||||||
sync-sas-strings:
|
sync-sas-strings:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# Skip in forks
|
||||||
|
if: github.repository == 'vector-im/element-android'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
|
Loading…
Reference in New Issue
Block a user