diff --git a/.github/workflows/pr-welcome.yml b/.github/workflows/pr-welcome.yml index bb01b9a81b0..0a6a36d9ad5 100644 --- a/.github/workflows/pr-welcome.yml +++ b/.github/workflows/pr-welcome.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Add welcome comment on PR (draft)' - uses: actions/github-script@v6 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 if: "github.event.pull_request.draft" with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -30,7 +30,7 @@ jobs: body: 'Thank you for your contribution! 🙏 Let us know when you are ready for a review by publishing the PR.' }); - name: 'Add welcome comment on PR' - uses: actions/github-script@v6 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 if: "!github.event.pull_request.draft" with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -42,7 +42,7 @@ jobs: body: 'Thank you for your contribution! 🙏 We will review your PR as soon as possible.\n\n\n While you are waiting, make sure to:\n\n\n- Add an entry in [our changelog](https://github.com/kedacore/keda/blob/main/CHANGELOG.md) in alphabetical order and link related issue\n- Update the [documentation](https://github.com/kedacore/keda-docs), if needed\n- Add unit & [e2e](https://github.com/kedacore/keda/blob/main/tests/README.md) tests for your changes\n- GitHub checks are passing\n- Is the DCO check failing? Here is [how you can fix DCO issues](https://github.com/kedacore/keda/blob/main/CONTRIBUTING.md#i-didnt-sign-my-commit-now-what)\n\n\nLearn more about:\n- Our [contribution guide](https://github.com/kedacore/keda/blob/main/CONTRIBUTING.md)' }); - name: 'Apply review required label' - uses: actions/github-script@v6 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 if: "!github.event.pull_request.draft" with: script: | @@ -53,7 +53,7 @@ jobs: labels: ["requires-pr-review"] }) - name: 'Remove review required label' - uses: actions/github-script@v6 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 if: github.event_name == 'pull_request_review' && (github.event.review.state == 'submitted' || github.event.review.state == 'edited') with: script: |