diff options
-rw-r--r-- | .github/workflows/labeler.yml | 6 | ||||
-rw-r--r-- | .github/workflows/reviews.yml | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 0e20e96cb6..08f0ce1763 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -27,11 +27,9 @@ jobs: PR_TITLE: ${{ github.event.pull_request.title }} steps: - name: "Extract commit type and add as label" - continue-on-error: true - run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|([[:alpha:]]+)(\(.*\))?!?:.*|\1|')" + run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|([[:alpha:]]+)(\(.*\))?!?:.*|\1|')" || true - name: "Extract commit scope and add as label" - continue-on-error: true - run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|[[:alpha:]]+\((.+)\)!?:.*|\1|')" + run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|[[:alpha:]]+\((.+)\)!?:.*|\1|')" || true upload-pr-number: runs-on: ubuntu-latest diff --git a/.github/workflows/reviews.yml b/.github/workflows/reviews.yml index 965adc2ab0..e2253988ba 100644 --- a/.github/workflows/reviews.yml +++ b/.github/workflows/reviews.yml @@ -13,7 +13,7 @@ jobs: steps: - if: github.event_name == 'workflow_run' name: 'Download artifact with PR number' - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: script: | let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -38,7 +38,7 @@ jobs: run: unzip pr_number.zip - name: 'Request reviewers' - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: script: | // The number of the pull request that triggered this run. If label |