diff --git a/.github/workflows/pr_approval.yml b/.github/workflows/pr_approval.yml new file mode 100644 index 0000000..15b5dcf --- /dev/null +++ b/.github/workflows/pr_approval.yml @@ -0,0 +1,16 @@ +name: Auto approve +on: + pull_request: + types: + - opened + branches: + - "master" + +jobs: + auto-approve: + runs-on: ubuntu-latest + permissions: + pull-requests: write + if: github.actor == 'dansheps' + steps: + - uses: hmarr/auto-approve-action@v4 \ No newline at end of file diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index dc9d0b3..1570dec 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -7,7 +7,7 @@ jobs: jobs: build: - name: Build Distribution + name: Build Distribution for PyPI runs-on: ubuntu-latest environment: release steps: