This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch commit-sha-workflow-assign-milestone
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 29c5e596f4fe3fadb1679ca403e7f52e13310db6
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Sep 3 07:41:53 2024 +0200

     Github Actions Security Best practices: Pin Actions to Full lenght Commit 
SHA - Assign milestone workflow
---
 .github/workflows/assign-issue-milestone.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/assign-issue-milestone.yaml 
b/.github/workflows/assign-issue-milestone.yaml
index aad168776e..9b62dc3757 100644
--- a/.github/workflows/assign-issue-milestone.yaml
+++ b/.github/workflows/assign-issue-milestone.yaml
@@ -35,7 +35,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Assign Closed Issues To Latest Milestone
-        uses: actions/github-script@v7
+        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # 
v7.0.1
         with:
           script: |
             const issueNumberFromCommitCommentRegex = new 
RegExp(`.*(?:fix(?:e[sd])?|(?:(?:resolve|close)[sd]?)):?\\s(?:https?:\\/\\/github\\.com\\/${context.repo.owner}\\/${context.repo.repo}\\/issues\\/|#)(\\d+)`,
 'igm');

Reply via email to