Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-kt-inkeep committed Feb 14, 2024
1 parent 21aef02 commit 21ad33d
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 100
13 changes: 13 additions & 0 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: example
on: pull_request
jobs:
comment:
name: Add checkout and pull commands
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: harupy/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: template.md
26 changes: 26 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: flake8

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
flake8 .
2 changes: 2 additions & 0 deletions .github/workflows/template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Inkeep sync has been started.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
__pycache__/
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM python:3.7.5-slim

RUN pip install PyGithub
COPY entrypoint.py /entrypoint.py

ENTRYPOINT python /entrypoint.py

0 comments on commit 21ad33d

Please sign in to comment.