Comment the GHA towncrier, there is a syntax error
This commit is contained in:
parent
a806991e88
commit
7ab7d7cc80
|
@ -204,25 +204,25 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
*/build/reports/detekt/detekt.html
|
*/build/reports/detekt/detekt.html
|
||||||
|
|
||||||
towncrier:
|
# towncrier:
|
||||||
name: Towncrier check
|
# name: Towncrier check
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'pull_request' && github.head_ref == 'develop'
|
# if: github.event_name == 'pull_request' && github.head_ref == 'develop'
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
- name: Set up Python 3.8
|
# - name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v4
|
# uses: actions/setup-python@v4
|
||||||
with:
|
# with:
|
||||||
python-version: 3.8
|
# python-version: 3.8
|
||||||
- name: Install towncrier
|
# - name: Install towncrier
|
||||||
run: |
|
# run: |
|
||||||
python3 -m pip install towncrier
|
# python3 -m pip install towncrier
|
||||||
- name: Run towncrier
|
# - name: Run towncrier
|
||||||
# Fetch the pull request' base branch so towncrier will be able to
|
# # Fetch the pull request' base branch so towncrier will be able to
|
||||||
# compare the current branch with the base branch.
|
# # compare the current branch with the base branch.
|
||||||
# Source: https://github.com/actions/checkout/#fetch-all-branches.
|
# # Source: https://github.com/actions/checkout/#fetch-all-branches.
|
||||||
run: |
|
# run: |
|
||||||
git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}
|
# git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}
|
||||||
towncrier check --compare-with origin/${BASE_BRANCH}
|
# towncrier check --compare-with origin/${BASE_BRANCH}
|
||||||
env:
|
# env:
|
||||||
BASE_BRANCH: ${{ github.base_ref }}
|
# BASE_BRANCH: ${{ github.base_ref }}
|
||||||
|
|
Loading…
Reference in New Issue