can kinitiras inject sidecar by annotation? #15
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
name: check label | |
on: | |
issues: | |
types: [opened, edited] | |
pull_request: | |
types: [opened, edited] | |
jobs: | |
check-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: pip install PyGithub | |
- name: Check label | |
run: python check_label.py ${{ github.event_name }} ${{ github.event.issue.number }} ${{ github.event.pull_request.number }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |