From 7ab7d7cc8038187c6258f09d675d8570d724171b Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 12 Jul 2022 10:29:49 +0200 Subject: [PATCH] Comment the GHA towncrier, there is a syntax error --- .github/workflows/quality.yml | 44 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 21d974602f..8bc5efe860 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -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 }}