Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions .github/workflows/pull_request_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,5 @@ jobs:
- uses: nearform/github-action-check-linked-issues@v1
id: check-linked-issues
with:
exclude-branches: "release_v/**, backport_v/**, main, latest-dep-update-/**, min-dep-update-/**, dependabot/**"
comment: false
exclude-branches: "release_v**, backport_v**, main, latest-dep-update-**, min-dep-update-**, dependabot/**"
github-token: ${{ secrets.REPO_SCOPED_TOKEN }}
- name: Print helpful error message
if: ${{ steps.check-linked-issues.outputs.linked_issues_count == '0' }}
run: |
msg="Linked issues: ${{ steps.check-linked-issues.outputs.linked_issues_count }}"
echo $msg
echo $msg >> $GITHUB_STEP_SUMMARY
msg="Please link the pull request to the issue(s) it resolves."
echo $msg
echo $msg >> $GITHUB_STEP_SUMMARY
msg="If you are not sure how to do this, please see https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue"
echo $msg
echo $msg >> $GITHUB_STEP_SUMMARY
exit 1
2 changes: 1 addition & 1 deletion docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Future Release
* Testing Changes
* Add GitHub Actions cache to speed up workflows (:pr:`2475`)
* Fix latest dependency checker install command (:pr:`2476`)
* Add pull request check for linked issues to CI workflow (:pr:`2477`)
* Add pull request check for linked issues to CI workflow (:pr:`2477`, :pr:`2481`)
* Remove make package from lint workflow (:pr:`2479`)

Thanks to the following people for contributing to this release:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ filterwarnings = [

[tool.black]
line-length = 88
target-version = ["py310"]

[tool.ruff]
line-length = 88
Expand Down