1
0
Fork 0
mirror of https://github.com/element-hq/element-android synced 2024-12-18 15:24:33 +03:00

Group if together

This commit is contained in:
Benoit Marty 2022-07-11 17:03:09 +02:00
parent 6feca4badf
commit d524f1a7d4

View file

@ -207,7 +207,7 @@ jobs:
towncrier:
name: Towncrier check
runs-on: ubuntu-latest
if: github.head_ref == 'develop'
if: github.event_name == 'pull_request' && github.head_ref == 'develop'
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
@ -226,4 +226,3 @@ jobs:
towncrier check --compare-with origin/${BASE_BRANCH}
env:
BASE_BRANCH: ${{ github.base_ref }}
if: github.event_name == 'pull_request'