diff --git a/.github/workflows/add-milestone-to-pull-requests.yaml b/.github/workflows/add-milestone-to-pull-requests.yaml index da8afee4..b9a81833 100644 --- a/.github/workflows/add-milestone-to-pull-requests.yaml +++ b/.github/workflows/add-milestone-to-pull-requests.yaml @@ -18,7 +18,7 @@ jobs: steps: - name: Get project milestones id: milestones - uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # 3.1.0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # 8.0.0 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -34,7 +34,7 @@ jobs: return milestones.length == 0 ? null : milestones[0].number - name: Update Pull Request if: steps.milestones.outputs.result != null - uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # 3.1.0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # 8.0.0 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff --git a/.github/workflows/increment-milestones-on-tag.yaml b/.github/workflows/increment-milestones-on-tag.yaml index ebba98f6..2f9cf34a 100644 --- a/.github/workflows/increment-milestones-on-tag.yaml +++ b/.github/workflows/increment-milestones-on-tag.yaml @@ -13,7 +13,7 @@ jobs: steps: - name: Get milestone title id: milestoneTitle - uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # 3.1.0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # 8.0.0 with: result-encoding: string script: | @@ -21,7 +21,7 @@ jobs: return '${{github.event.ref}}'.startsWith('v_') ? '${{github.event.ref}}'.substring(2) : '${{github.event.ref}}'; - name: Get milestone for tag id: milestone - uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # 3.1.0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # 8.0.0 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -40,7 +40,7 @@ jobs: } - name: Close milestone if: fromJSON(steps.milestone.outputs.result) - uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # 3.1.0 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # 8.0.0 with: github-token: ${{secrets.GITHUB_TOKEN}} script: |