diff --git a/.github/workflows/pr-lint.yaml b/.github/workflows/pr-lint.yaml index 522257b9..0cfb6c27 100644 --- a/.github/workflows/pr-lint.yaml +++ b/.github/workflows/pr-lint.yaml @@ -11,7 +11,7 @@ jobs: # 1) Validate the branch name without using shell (no user input in `run`) - name: Check ticket name conforms to requirements id: validate-branch - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const ref = context.payload.pull_request?.head?.ref || ''; @@ -27,7 +27,7 @@ jobs: contains(github.event.pull_request.head.ref, 'APM-') || contains(github.event.pull_request.head.ref, 'amb-') || contains(github.event.pull_request.head.ref, 'AMB-') - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: result-encoding: string script: |