diff --git a/.github/workflows/autoassign.yml b/.github/workflows/autoassign.yml index 298f7908a4f..2043ef3a1a5 100644 --- a/.github/workflows/autoassign.yml +++ b/.github/workflows/autoassign.yml @@ -1,9 +1,9 @@ name: 🤖 issue/pr assignment on: - pull_request: - types: [opened] - branches: - - main +# pull_request: +# types: [opened] +# branches: +# - main issues: types: [opened] @@ -20,7 +20,7 @@ jobs: with: python-version: '3.10' # install the python version needed - run: pip install requests - - if: github.event_name == 'pull_request' - run: python .github/scripts/assign_tasks.py ${{ github.event.pull_request.number }} pr ${{ secrets.GITHUB_TOKEN }} +# - if: github.event_name == 'pull_request' +# run: python .github/scripts/assign_tasks.py ${{ github.event.pull_request.number }} pr ${{ secrets.GITHUB_TOKEN }} - if: github.event_name == 'issues' run: python .github/scripts/assign_tasks.py ${{ github.event.issue.number }} issue ${{ secrets.GITHUB_TOKEN }}