-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ feat: PEP 621 @geminixiang #99
Conversation
❯ GITHUB_TOKEN=SECRET GITHUB_REPOSITORY=livingbio/pr-lint PR_NUMBER=99 poetry
run pr-lint
Updated PR title: feat: PEP 621 -> ✨ feat: PEP 621 @geminixiang It works successfully locally, but it seems there are some issues that need to be resolved in the GitHub Actions environment. |
26863af
to
26fff7c
Compare
.github/workflows/pr-lint.yml
Outdated
@@ -10,7 +10,7 @@ jobs: | |||
|
|||
steps: | |||
- id: pr-lint | |||
uses: livingbio/pr-lint@main | |||
uses: livingbio/pr-lint@98-feat-add-support-for-poetry-2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh~ an error occurred when the CI ran the main branch code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lucemia 這邊 CI 臨時改使用本 PR code ,就正確了,
只為驗證 pr-lint 正確,跟本次 PR 無關,所以後續改回 main
This reverts commit 4865f63.
@@ -20,7 +20,7 @@ runs: | |||
python-version: "3.x" | |||
|
|||
- name: Install pr-lint | |||
run: pip install poetry && poetry install | |||
run: pip install poetry && poetry sync |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
readme = "README.md" | ||
|
||
[project.scripts] | ||
pr-lint = "pr_lint.main:app" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated pyproject.toml to comply with the PEP 621 standard.
ref. https://python-poetry.org/docs/pyproject