mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Merge branch 'develop' into feature/fre/start_dm_on_first_msg
* develop: Comment the GHA towncrier, there is a syntax error
This commit is contained in:
commit
b8cdf9dcaa
44
.github/workflows/quality.yml
vendored
44
.github/workflows/quality.yml
vendored
@ -204,25 +204,25 @@ jobs:
|
||||
path: |
|
||||
*/build/reports/detekt/detekt.html
|
||||
|
||||
towncrier:
|
||||
name: Towncrier check
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'pull_request' && github.head_ref == 'develop'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install towncrier
|
||||
run: |
|
||||
python3 -m pip install towncrier
|
||||
- name: Run towncrier
|
||||
# Fetch the pull request' base branch so towncrier will be able to
|
||||
# compare the current branch with the base branch.
|
||||
# Source: https://github.com/actions/checkout/#fetch-all-branches.
|
||||
run: |
|
||||
git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}
|
||||
towncrier check --compare-with origin/${BASE_BRANCH}
|
||||
env:
|
||||
BASE_BRANCH: ${{ github.base_ref }}
|
||||
# towncrier:
|
||||
# name: Towncrier check
|
||||
# runs-on: ubuntu-latest
|
||||
# if: github.event_name == 'pull_request' && github.head_ref == 'develop'
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
# - name: Set up Python 3.8
|
||||
# uses: actions/setup-python@v4
|
||||
# with:
|
||||
# python-version: 3.8
|
||||
# - name: Install towncrier
|
||||
# run: |
|
||||
# python3 -m pip install towncrier
|
||||
# - name: Run towncrier
|
||||
# # Fetch the pull request' base branch so towncrier will be able to
|
||||
# # compare the current branch with the base branch.
|
||||
# # Source: https://github.com/actions/checkout/#fetch-all-branches.
|
||||
# run: |
|
||||
# git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}
|
||||
# towncrier check --compare-with origin/${BASE_BRANCH}
|
||||
# env:
|
||||
# BASE_BRANCH: ${{ github.base_ref }}
|
||||
|
Loading…
Reference in New Issue
Block a user