File tree Expand file tree Collapse file tree 7 files changed +96
-1
lines changed Expand file tree Collapse file tree 7 files changed +96
-1
lines changed Original file line number Diff line number Diff line change 1+ # Add 'test' label
2+ " :label: test :checkered_flag: " :
3+ - test/**/*
4+
5+ # Add github actions related updates to .github
6+ " :label: github-action :octocat: " :
7+ - .github/**/*
8+
9+ # requirements.txt update
10+ " :label: requirements-update :christmas_tree: " :
11+ - requirements/*
12+
13+ " :label: documentation :scroll: " :
14+ - README.md
15+ - documentation/*.md
Original file line number Diff line number Diff line change 1+ name : Greetings
2+
3+ on : [pull_request, issues]
4+
5+ jobs :
6+ greeting :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/first-interaction@v1
10+ with :
11+ repo-token : ${{ secrets.GITHUB_TOKEN }}
12+ issue-message : " You just reported your first issue in this repo. :thought_balloon: :sparkles: "
13+ pr-message : " Congrats on your first contribution! :1st_place_medal: "
Original file line number Diff line number Diff line change 1+ # This workflow will triage pull requests and apply a label based on the
2+ # paths that are modified in the pull request.
3+ #
4+ # To use this workflow, you will need to set up a .github/labeler.yml
5+ # file with configuration. For more information, see:
6+ # https://github.com/actions/labeler/blob/master/README.md
7+
8+ name : Labeler
9+ on : [pull_request]
10+
11+ jobs :
12+ label :
13+
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/labeler@v2
18+ with :
19+ repo-token : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change 1+ name : Python package
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ python-version : [3.8]
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Set up Python ${{ matrix.python-version }}
16+ uses : actions/setup-python@v1
17+ with :
18+ python-version : ${{ matrix.python-version }}
19+ - name : Install pip
20+ run : |
21+ python -m pip install --upgrade pip
22+ - name : Setup project
23+ run : |
24+ make setup
25+ - name : Lint
26+ run : |
27+ pip install flake8
28+ make lint
29+
Original file line number Diff line number Diff line change 1+ name : Mark stale issues and pull requests
2+
3+ on :
4+ schedule :
5+ - cron : " 0 0 * * *"
6+
7+ jobs :
8+ stale :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/stale@v1
14+ with :
15+ repo-token : ${{ secrets.GITHUB_TOKEN }}
16+ stale-issue-message : ' Stale issue message'
17+ stale-pr-message : ' Stale pull request message'
18+ stale-issue-label : ' no-issue-activity'
19+ stale-pr-label : ' no-pr-activity'
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ An "optionally opinionated and structured" flask boilerplate microservice for id
99
1010Tools
1111------------------------------------------------------------------------------
12- [ ![ Min Python Version 3.6 +] ( https://img.shields.io/badge/python-3.6 +-3776AB.svg )] ( https://www.python.org/download/releases/3.6 .0/ )
12+ [ ![ Min Python Version 3.8 +] ( https://img.shields.io/badge/python-3.8 +-3776AB.svg )] ( https://www.python.org/download/releases/3.8 .0/ )
1313[ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
1414[ ![ Static Analysis: flake8] ( https://img.shields.io/badge/static%20analysis-flake8-white.svg )] ( https://www.python.org/dev/peps/pep-0008/ )
1515[ ![ Static Typing: mypy] ( https://img.shields.io/badge/static%20typing-mypy-blue.svg )] ( https://www.python.org/dev/peps/pep-0008/ )
You can’t perform that action at this time.
0 commit comments