Skip to content

Commit

Permalink
Add github job
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed May 7, 2021
1 parent 9977b5f commit 54135b0
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 179 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/public-api-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Public API check

on:
pull_request:

jobs:
commentPR:
runs-on: ubuntu-latest
steps:
- uses: mshick/add-pr-comment@v1
with:
message: |
**comment**
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: 'github-actions[bot]' # The user.login for temporary GitHub tokens
allow-repeats: false # This is the default
# publicAPICheck:
#
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: 3.8
# - name: Install tox
# run: pip install -U tox-factor
# - name: Public API Check
# run: tox -e public-symbols-check
5 changes: 5 additions & 0 deletions .github/workflows/template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Testing

```
test
```
179 changes: 0 additions & 179 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 54135b0

Please sign in to comment.