Skip to content

Commit

Permalink
Add pull request check for linked issues to CI workflow (#1633)
Browse files Browse the repository at this point in the history
* fix lint

* fix action

* fix path

* fix path

* fix path

* fix path

* fix path

* fix path

* fix path

* fix path

* Update release_notes.rst
  • Loading branch information
gsheni committed Feb 2, 2023
1 parent 8a74c91 commit e82f105
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pull_request_check.yaml
@@ -0,0 +1,15 @@
name: Pull Request Check
on:
pull_request:
types: [opened, edited, reopened, synchronize]
jobs:
pull_request_check:
name: pull request check
runs-on: ubuntu-latest
steps:
- 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
github-token: ${{ secrets.REPO_SCOPED_TOKEN }}
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -9,14 +9,14 @@ clean:
.PHONY: lint
lint:
python docs/notebook_version_standardizer.py check-execution
black woodwork/ docs/source/ --config=./pyproject.toml --check
ruff woodwork/ --config=./pyproject.toml
black . --config=./pyproject.toml --check
ruff . --config=./pyproject.toml

.PHONY: lint-fix
lint-fix:
python docs/notebook_version_standardizer.py standardize
black woodwork/ docs/source/ --config=./pyproject.toml
ruff woodwork/ --config=./pyproject.toml --fix
black . --config=./pyproject.toml
ruff . --config=./pyproject.toml --fix

.PHONY: test
test:
Expand Down
1 change: 1 addition & 0 deletions docs/source/release_notes.rst
Expand Up @@ -16,6 +16,7 @@ Future Release
* Specify black and ruff config arguments (:pr:`1620`)
* Add codecov token for unit tests workflow (:pr:`1630`)
* Add GitHub Actions cache to speed up workflows (:pr:`1631`)
* Add pull request check for linked issues to CI workflow (:pr:`1633`)

Thanks to the following people for contributing to this release:
:user:`gsheni`
Expand Down

0 comments on commit e82f105

Please sign in to comment.