Skip to content

Commit

Permalink
Removed the exclusion of start branch from checking for changes
Browse files Browse the repository at this point in the history
Details:

* With the new simplified approach for starting a new version, the commit now
  has a change file. Removed the exclusion of the start branch from checking
  for a change file.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>
  • Loading branch information
andy-maier committed Jun 18, 2024
1 parent b8f0df2 commit ff2bc23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Make sure this change adds or changes at least one change fragment file (unless start PR)
if: ${{ ! startsWith(github.head_ref, 'start_') }}
- name: Make sure this change adds or changes at least one change fragment file
run: |
bash -c "! git diff --exit-code origin/${{ github.base_ref }} changes/*.rst >/dev/null || (echo 'Please add or modify a change fragment file in the changes directory - for details read the Making a change section in the docs'; exit 1)"
- name: Set up Python ${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions changes/noissue.3.notshown.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit ff2bc23

Please sign in to comment.