diff --git a/.github/workflows/labeler-cache-retention.yml b/.github/workflows/labeler-cache-retention.yml index 08a593a..fe27449 100644 --- a/.github/workflows/labeler-cache-retention.yml +++ b/.github/workflows/labeler-cache-retention.yml @@ -30,7 +30,7 @@ jobs: matrix: type: ["issues", "pulls", "discussions"] steps: - - uses: dotnet/issue-labeler/restore@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + - uses: dotnet/issue-labeler/restore@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: ${{ matrix.type }} cache_key: ${{ env.CACHE_KEY }} diff --git a/.github/workflows/labeler-predict-discussions.yml b/.github/workflows/labeler-predict-discussions.yml index 2b85104..95093f0 100644 --- a/.github/workflows/labeler-predict-discussions.yml +++ b/.github/workflows/labeler-predict-discussions.yml @@ -42,7 +42,7 @@ jobs: steps: - name: "Restore discussions model from cache" id: restore-model - uses: dotnet/issue-labeler/restore@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/restore@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: discussions fail-on-cache-miss: ${{ !fromJSON(env.ALLOW_FAILURE) }} @@ -51,7 +51,7 @@ jobs: - name: "Predict discussion labels" if: ${{ steps.restore-model.outputs.cache-hit == 'true' }} - uses: dotnet/issue-labeler/predict@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/predict@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: discussions: ${{ github.event.inputs.discussions || github.event.discussion.number }} label_prefix: ${{ env.LABEL_PREFIX }} diff --git a/.github/workflows/labeler-predict-issues.yml b/.github/workflows/labeler-predict-issues.yml index 5a3bf30..8c111d7 100644 --- a/.github/workflows/labeler-predict-issues.yml +++ b/.github/workflows/labeler-predict-issues.yml @@ -41,7 +41,7 @@ jobs: steps: - name: "Restore issues model from cache" id: restore-model - uses: dotnet/issue-labeler/restore@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/restore@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: issues fail-on-cache-miss: ${{ !fromJSON(env.ALLOW_FAILURE) }} @@ -51,7 +51,7 @@ jobs: - name: "Predict issue labels" id: prediction if: ${{ steps.restore-model.outputs.cache-hit == 'true' }} - uses: dotnet/issue-labeler/predict@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/predict@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: issues: ${{ github.event.inputs.issues || github.event.issue.number }} label_prefix: ${{ env.LABEL_PREFIX }} diff --git a/.github/workflows/labeler-predict-pulls.yml b/.github/workflows/labeler-predict-pulls.yml index c49e21b..4a5c4b9 100644 --- a/.github/workflows/labeler-predict-pulls.yml +++ b/.github/workflows/labeler-predict-pulls.yml @@ -53,7 +53,7 @@ jobs: steps: - name: "Restore pulls model from cache" id: restore-model - uses: dotnet/issue-labeler/restore@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/restore@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: pulls fail-on-cache-miss: ${{ !fromJSON(env.ALLOW_FAILURE) }} @@ -63,7 +63,7 @@ jobs: - name: "Predict pull labels" id: prediction if: ${{ steps.restore-model.outputs.cache-hit == 'true' }} - uses: dotnet/issue-labeler/predict@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/predict@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: pulls: ${{ github.event.inputs.pulls || github.event.number }} label_prefix: ${{ env.LABEL_PREFIX }} diff --git a/.github/workflows/labeler-promote.yml b/.github/workflows/labeler-promote.yml index 0d72232..a17d946 100644 --- a/.github/workflows/labeler-promote.yml +++ b/.github/workflows/labeler-promote.yml @@ -37,7 +37,7 @@ jobs: actions: write steps: - name: "Promote Model for Issues" - uses: dotnet/issue-labeler/promote@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/promote@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "issues" staged_key: ${{ github.event.inputs.staged_key }} @@ -50,7 +50,7 @@ jobs: actions: write steps: - name: "Promote Model for Pull Requests" - uses: dotnet/issue-labeler/promote@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/promote@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "pulls" staged_key: ${{ github.event.inputs.staged_key }} @@ -63,7 +63,7 @@ jobs: actions: write steps: - name: "Promote Model for Discussions" - uses: dotnet/issue-labeler/promote@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/promote@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "discussions" staged_key: ${{ github.event.inputs.staged_key }} diff --git a/.github/workflows/labeler-train.yml b/.github/workflows/labeler-train.yml index 74193cd..e7eaa90 100644 --- a/.github/workflows/labeler-train.yml +++ b/.github/workflows/labeler-train.yml @@ -66,7 +66,7 @@ jobs: issues: read steps: - name: "Download Issues" - uses: dotnet/issue-labeler/download@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/download@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "issues" cache_key: ${{ env.CACHE_KEY }} @@ -86,7 +86,7 @@ jobs: pull-requests: read steps: - name: "Download Pull Requests" - uses: dotnet/issue-labeler/download@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/download@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "pulls" cache_key: ${{ env.CACHE_KEY }} @@ -106,7 +106,7 @@ jobs: discussions: read steps: - name: "Download Discussions" - uses: dotnet/issue-labeler/download@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/download@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "discussions" cache_key: ${{ env.CACHE_KEY }} @@ -212,7 +212,7 @@ jobs: - check-discussions-data steps: - name: "Train Model for Discussions" - uses: dotnet/issue-labeler/train@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/train@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "discussions" data_cache_key: ${{ env.CACHE_KEY }} @@ -227,7 +227,7 @@ jobs: - check-issues-data steps: - name: "Train Model for Issues" - uses: dotnet/issue-labeler/train@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/train@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "issues" data_cache_key: ${{ env.CACHE_KEY }} @@ -242,7 +242,7 @@ jobs: - check-pulls-data steps: - name: "Train Model for Pull Requests" - uses: dotnet/issue-labeler/train@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/train@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "pulls" data_cache_key: ${{ env.CACHE_KEY }} @@ -258,7 +258,7 @@ jobs: - train-issues steps: - name: "Test Model for Issues" - uses: dotnet/issue-labeler/test@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/test@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "issues" cache_key: ${{ env.CACHE_KEY }} @@ -282,7 +282,7 @@ jobs: - train-discussions steps: - name: "Test Model for Discussions" - uses: dotnet/issue-labeler/test@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/test@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "discussions" cache_key: ${{ env.CACHE_KEY }} @@ -306,7 +306,7 @@ jobs: - train-pulls steps: - name: "Test Model for Pull Requests" - uses: dotnet/issue-labeler/test@98f1d9b85686147ffdc155547cdd3469546c4e26 # v2.1.0 + uses: dotnet/issue-labeler/test@160b6b1e1e8d36da09beb34ef1e4806d2c0520a3 # v2.2.0 with: type: "pulls" cache_key: ${{ env.CACHE_KEY }}