-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Continues Integration | ||
|
||
on: | ||
push: | ||
branches: | ||
- '6.x' | ||
- 'master' | ||
|
||
env: | ||
PYTHON_VERSION: 3 | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Run lint | ||
run: make lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Mark stale issues and pull requests | ||
|
||
on: | ||
schedule: | ||
- cron: '0 * * * *' | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 60 | ||
days-before-close: 30 | ||
remove-stale-when-updated: true | ||
operations-per-run: 30 | ||
|
||
exempt-issue-labels: 'pinned,security,planned' | ||
stale-issue-label: 'stale' | ||
stale-issue-message: | | ||
This issue has been automatically marked as stale because it | ||
has not had any activity for 60 days. It will be closed if no further | ||
activity occurs for another 30 days. | ||
close-issue-message: | | ||
This issue has been automatically closed because there has | ||
been no activity for 90 days. We are sorry that we haven't been | ||
able to prioritize it yet. Please feel free to reopen this | ||
issue or create a new one. Thank you! | ||
exempt-pr-labels: 'pinned,security,planned' | ||
stale-pr-label: 'stale' | ||
stale-pr-message: | | ||
This pull request has been automatically marked as stale because it | ||
has not had any activity for 60 days. It will be closed if no further | ||
activity occurs for another 30 days. | ||
If you are a maintainer or core committer, please follow-up on this | ||
pull request to identify what steps should be taken by the author to move this | ||
proposed change forward. | ||
If you are the author of this pull request, thank you for your proposed | ||
contribution. If you believe this change is still appropriate, please | ||
ensure that any feedback has been addressed and ask for a code review. | ||
close-pr-message: | | ||
This pull request has been automatically closed because there has | ||
been no activity for 90 days. Please feel free to reopen this pull | ||
request (or open a new one) if the proposed change is still | ||
appropriate. Thank you for your contribution! |