Refactor project includes to avoid unnecessary transitive includes
#580
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: "Triage: PRs" | |
| on: | |
| pull_request_target: | |
| types: [opened] | |
| permissions: | |
| pull-requests: read | |
| contents: read | |
| jobs: | |
| add_to_projects: | |
| runs-on: ubuntu-slim | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| submodules: recursive | |
| - name: Check PR author | |
| id: check_author | |
| run: | | |
| PR_AUTHOR="${{ github.event.pull_request.user.login }}" | |
| if ! grep -Fqxi "$PR_AUTHOR" .github/team_members.txt; then | |
| echo "should_add=true" >> $GITHUB_OUTPUT | |
| fi | |
| - name: "Add community PR to triaging project" | |
| if: steps.check_author.outputs.should_add == 'true' && github.repository == 'musescore/MuseScore' | |
| uses: actions/add-to-project@main | |
| with: | |
| project-url: https://github.com/orgs/musescore/projects/117 | |
| github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} |