I'm looking for a list of open source projects written in Python that are accepting new contributors. Narrow down the list to repositories that use the good first issue or help wanted labels and have over 100 stars on GitHub.
#7303
Workflow file for this run
This file contains hidden or 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: Auto Close Open Source Dependency Updates | |
| # **What it does**: | |
| # - close-external: Automatically close dependabot's pull requests in the open-source repository. | |
| # **Why we have it**: | |
| # - close-external: To avoid duplicating updates against the internal repository. | |
| # **Who does it impact**: It helps docs engineering focus on higher value work. | |
| on: | |
| pull_request: | |
| paths: | |
| - 'package*.json' | |
| - 'Gemfile*' | |
| - 'Dockerfile' | |
| - '.github/workflows/**' | |
| pull_request_review: | |
| types: | |
| - edited | |
| - submitted | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| close-external: | |
| if: >- | |
| ${{ | |
| github.repository == 'github/docs' && | |
| github.event.pull_request.number && | |
| github.event.pull_request.base.ref == 'main' && | |
| github.event.pull_request.user.login == 'dependabot[bot]' && | |
| github.event.pull_request.state == 'open' | |
| }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Close pull request and delete branch | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| run: | | |
| gh pr close "$PR_URL" --delete-branch | |
| - name: Comment on the pull request | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| run: | | |
| gh pr comment "$PR_URL" --body "This dependency update will be handled internally by our engineering team." | |
| # Because we get far too much spam ;_; | |
| - name: Lock conversations | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 | |
| env: | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| with: | |
| script: | | |
| try { | |
| await github.rest.issues.lock({ | |
| ...context.repo, | |
| issue_number: parseInt(process.env.PR_NUMBER, 10), | |
| lock_reason: 'resolved' | |
| }) | |
| console.log('Locked the pull request to prevent spam!') | |
| } catch (error) { | |
| console.error(`Failed to lock the pull request. Error: ${error}`) | |
| throw error | |
| } |