You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2024/09/03 05:41:57 UTC
(camel-quarkus) branch commit-sha-workflow-assign-milestone created (now 29c5e596f4)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch commit-sha-workflow-assign-milestone
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
at 29c5e596f4 Github Actions Security Best practices: Pin Actions to Full lenght Commit SHA - Assign milestone workflow
This branch includes the following new commits:
new 29c5e596f4 Github Actions Security Best practices: Pin Actions to Full lenght Commit SHA - Assign milestone workflow
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(camel-quarkus) 01/01: Github Actions Security Best practices: Pin Actions to Full lenght Commit SHA - Assign milestone workflow
Posted by ac...@apache.org.
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 <an...@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');