diff --git a/.github/workflows/extend-awards.yml b/.github/workflows/extend-awards.yml index 02061413..dc7ee627 100644 --- a/.github/workflows/extend-awards.yml +++ b/.github/workflows/extend-awards.yml @@ -14,7 +14,10 @@ jobs: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true && - github.event.pull_request.head.ref != 'extend-awards/patch' + github.event.pull_request.head.ref != 'extend-awards/patch' && + github.event.pull_request.user.login != 'huumn' && + github.event.pull_request.user.login != 'ekzyis' && + github.event.pull_request.user.login != 'Soxasora' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -44,7 +47,7 @@ jobs: - name: Commit changes and push to existing branch if: env.exists == 'true' run: | - git commit -am "Extending awards.csv" + git commit -am "Extending awards.csv" || exit 0 git push origin extend-awards/patch - uses: peter-evans/create-pull-request@v7 if: env.exists == 'false' diff --git a/extend-awards.py b/extend-awards.py index 9981d12a..e2252568 100644 --- a/extend-awards.py +++ b/extend-awards.py @@ -2,7 +2,7 @@ import json, os, re, requests difficulties = {'good-first-issue':20000,'easy':100000,'medium':250000,'medium-hard':500000,'hard':1000000} priorities = {'low':0.5,'medium':1.5,'high':2,'urgent':3} -ignored = ['huumn', 'ekzyis'] +ignored = ['huumn', 'ekzyis', 'Soxasora'] fn = 'awards.csv' sess = requests.Session()