Create action-test.md #1
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: gor.py | |
on: | |
pull_request: | |
types: | |
opened | |
branches: | |
main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: setup | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' # install python version | |
- name: install packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: execute | |
env: | |
GH_AUTH_TOKEN: ${{ secrets.GH_AUTH_TOKEN }} | |
PR_ID: ${{ github.event.number }} | |
run: | | |
python gor.py |