-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add Tidelift alignment action and badge #5763
Changes from 14 commits
c8822a6
76b5760
836f740
3c92b34
3c8128d
06ab032
91fb7fc
c373ac1
ae4d5d9
d23afb3
1d82b6b
360b169
789fcb8
ca8fc48
7a42610
085b05d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Tidelift Align | ||
on: | ||
schedule: | ||
- cron: "30 2 * * *" # daily at 02:30 UTC | ||
push: | ||
paths: | ||
- ".github/workflows/tidelift.yml" | ||
pull_request: | ||
paths: | ||
- ".github/workflows/tidelift.yml" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
if: github.repository_owner == 'python-pillow' | ||
name: Run Tidelift to ensure approved open source packages are in use | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Scan | ||
uses: tidelift/alignment-action@main | ||
env: | ||
TIDELIFT_API_KEY: ${{ secrets.TIDELIFT_API_KEY }} | ||
TIDELIFT_ORGANIZATION: team/aclark4life | ||
TIDELIFT_PROJECT: pillow | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[[source]] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this file mandatory for tidelift? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @auvipy If you want to provide a lock file, then either Pipfile.lock or poetry.lock according to https://support.tidelift.com/hc/en-us/articles/4406293161492-Compatible-languages-and-package-files There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK I am familiar with both, but not so with tidelift CLI :D I was able to make tidelift authenticate work though There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but should I put key in a secret env variable in the local tidelift project? |
||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
black = "*" | ||
check-manifest = "*" | ||
coverage = "*" | ||
defusedxml = "*" | ||
packaging = "*" | ||
markdown2 = "*" | ||
olefile = "*" | ||
pyroma = "*" | ||
pytest = "*" | ||
pytest-cov = "*" | ||
pytest-timeout = "*" | ||
|
||
[dev-packages] | ||
|
||
[requires] | ||
python_version = "3.9" |
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.
TIDELIFT_PROJECT should be name of exact package repo name right? or anything tidelift specific
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.
i got it by trial n error. now only figure out tidelift API key authenticate failure