diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index babf5fa..8fe847a 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -90,7 +90,7 @@ jobs: # Comment on PR if validation failed - name: Comment on PR about version update if: always() && github.base_ref == 'develop' && github.head_ref != 'develop' && !startsWith(github.head_ref, 'hotfix/') && steps.version_check.outcome == 'failure' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const baseVersion = '${{ steps.version_check.outputs.base_version }}'; @@ -150,7 +150,7 @@ jobs: # Delete comment if validation passed - name: Delete version update comment if validation passed if: github.base_ref == 'develop' && github.head_ref != 'develop' && !startsWith(github.head_ref, 'hotfix/') && steps.version_check.outputs.validation_passed == 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | // Find and delete any existing version update comments diff --git a/.github/workflows/version-helper.yml b/.github/workflows/version-helper.yml index 28f15cd..5fa001e 100644 --- a/.github/workflows/version-helper.yml +++ b/.github/workflows/version-helper.yml @@ -75,7 +75,7 @@ jobs: - name: Post PR comment for feature branch if: github.base_ref == 'develop' && startsWith(github.head_ref, 'feature/') - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const output = ${{ toJson(steps.analyze.outputs) }}; @@ -121,7 +121,7 @@ jobs: - name: Post PR comment for develop to main if: github.base_ref == 'main' && github.head_ref == 'develop' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const output = ${{ toJson(steps.analyze.outputs) }}; @@ -163,7 +163,7 @@ jobs: - name: Post PR comment for hotfix if: github.base_ref == 'main' && startsWith(github.head_ref, 'hotfix/') - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const output = ${{ toJson(steps.analyze.outputs) }};