diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-08-06 23:25:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-06 23:25:02 +0200 |
commit | 3ab0a71c7bfb60b20008894db3fb6534436753e6 (patch) | |
tree | b4f3f6e14c1ba80d7e59d79aed76b67dd9e4762a | |
parent | 6e784e0aca240b41c83bd3e77aecf5793fdc238d (diff) |
Fix PR build concurrency and stop auto assigning reviewers for draft PRs (#5519)
* build: Remove concurrency
It's called by checks anyway.
* Only assign reviewers for PRs that are ready for reviews
-rw-r--r-- | .github/workflows/build.yml | 4 | ||||
-rw-r--r-- | .github/workflows/pr_triage.yml | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc372870..bbc2eca8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,10 +3,6 @@ name: Build job on: workflow_call: -concurrency: - group: pr-builds-${{ github.event.number }} - cancel-in-progress: true - env: POWERSHELL_TELEMETRY_OPTOUT: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 diff --git a/.github/workflows/pr_triage.yml b/.github/workflows/pr_triage.yml index 86e5084f..cd90e645 100644 --- a/.github/workflows/pr_triage.yml +++ b/.github/workflows/pr_triage.yml @@ -28,6 +28,7 @@ jobs: dot: true - name: Assign reviewers + if: ! github.event.pull_request.draft run: | pip3 install PyGithub python3 .github/update_reviewers.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.pull_request.number }} .github/reviewers.yml |