Workflows ensure explicit versions of actions

892fe7bd34226eec5e83fb50843b4dea5f46b952

Wolfsblvt <wolfsblvt@gmail.com>

7 files changed, +26 -26Showing whitespace changes
.github/workflows/issues-auto-manager.yml+9 -9
@@ -20,7 +20,7 @@ jobs:
20 - name: Checkout Repository20 - name: Checkout Repository
21 # Checkout21 # Checkout
22 # https://github.com/marketplace/actions/checkout22 # https://github.com/marketplace/actions/checkout
23 uses: actions/checkout@v423 uses: actions/checkout@v4.2.2
2424
25 - name: Auto-Label Issues (Based on Issue Content)25 - name: Auto-Label Issues (Based on Issue Content)
26 # only auto label based on issue content once, on open (to prevent re-labeling removed labels)26 # only auto label based on issue content once, on open (to prevent re-labeling removed labels)
@@ -28,7 +28,7 @@ jobs:
2828
29 # Issue Labeler29 # Issue Labeler
30 # https://github.com/marketplace/actions/regex-issue-labeler30 # https://github.com/marketplace/actions/regex-issue-labeler
31 uses: github/issue-labeler@v331 uses: github/issue-labeler@v3.4
32 with:32 with:
33 configuration-path: .github/issues-auto-labels.yml33 configuration-path: .github/issues-auto-labels.yml
34 enable-versioned-regex: 034 enable-versioned-regex: 0
@@ -43,7 +43,7 @@ jobs:
43 if: contains(fromJSON('["πŸ‘©β€πŸ’» Good First Issue", "πŸ™ Help Wanted", "πŸͺ² Confirmed", "⚠️ High Priority", "❕ Medium Priority", "πŸ’€ Low Priority"]'), github.event.label.name)43 if: contains(fromJSON('["πŸ‘©β€πŸ’» Good First Issue", "πŸ™ Help Wanted", "πŸͺ² Confirmed", "⚠️ High Priority", "❕ Medium Priority", "πŸ’€ Low Priority"]'), github.event.label.name)
44 # πŸ€– Issues Helper44 # πŸ€– Issues Helper
45 # https://github.com/marketplace/actions/issues-helper45 # https://github.com/marketplace/actions/issues-helper
46 uses: actions-cool/issues-helper@v346 uses: actions-cool/issues-helper@v3.6.0
47 with:47 with:
48 actions: 'add-labels'48 actions: 'add-labels'
49 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}49 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -53,7 +53,7 @@ jobs:
53 if: contains(fromJSON('["βœ… Done", "βœ… Done (staging)", "⚰️ Stale", "❌ wontfix"]'), github.event.label.name)53 if: contains(fromJSON('["βœ… Done", "βœ… Done (staging)", "⚰️ Stale", "❌ wontfix"]'), github.event.label.name)
54 # πŸ€– Issues Helper54 # πŸ€– Issues Helper
55 # https://github.com/marketplace/actions/issues-helper55 # https://github.com/marketplace/actions/issues-helper
56 uses: actions-cool/issues-helper@v356 uses: actions-cool/issues-helper@v3.6.0
57 with:57 with:
58 actions: 'remove-labels'58 actions: 'remove-labels'
59 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}59 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -63,7 +63,7 @@ jobs:
63 if: contains(fromJSON('["❌ wontfix","πŸ‘ Approved","πŸ‘©β€πŸ’» Good First Issue"]'), github.event.label.name)63 if: contains(fromJSON('["❌ wontfix","πŸ‘ Approved","πŸ‘©β€πŸ’» Good First Issue"]'), github.event.label.name)
64 # πŸ€– Issues Helper64 # πŸ€– Issues Helper
65 # https://github.com/marketplace/actions/issues-helper65 # https://github.com/marketplace/actions/issues-helper
66 uses: actions-cool/issues-helper@v366 uses: actions-cool/issues-helper@v3.6.0
67 with:67 with:
68 actions: 'remove-labels'68 actions: 'remove-labels'
69 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}69 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -73,7 +73,7 @@ jobs:
73 if: github.event.label.name == 'πŸͺ² Confirmed'73 if: github.event.label.name == 'πŸͺ² Confirmed'
74 # πŸ€– Issues Helper74 # πŸ€– Issues Helper
75 # https://github.com/marketplace/actions/issues-helper75 # https://github.com/marketplace/actions/issues-helper
76 uses: actions-cool/issues-helper@v376 uses: actions-cool/issues-helper@v3.6.0
77 with:77 with:
78 actions: 'remove-labels'78 actions: 'remove-labels'
79 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}79 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -89,7 +89,7 @@ jobs:
89 - name: Remove Stale Label89 - name: Remove Stale Label
90 # πŸ€– Issues Helper90 # πŸ€– Issues Helper
91 # https://github.com/marketplace/actions/issues-helper91 # https://github.com/marketplace/actions/issues-helper
92 uses: actions-cool/issues-helper@v392 uses: actions-cool/issues-helper@v3.6.0
93 with:93 with:
94 actions: 'remove-labels'94 actions: 'remove-labels'
95 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}95 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -105,12 +105,12 @@ jobs:
105 - name: Checkout Repository105 - name: Checkout Repository
106 # Checkout106 # Checkout
107 # https://github.com/marketplace/actions/checkout107 # https://github.com/marketplace/actions/checkout
108 uses: actions/checkout@v4108 uses: actions/checkout@v4.2.2
109109
110 - name: Post Issue Comments Based on Labels110 - name: Post Issue Comments Based on Labels
111 # Label Commenter111 # Label Commenter
112 # https://github.com/marketplace/actions/label-commenter112 # https://github.com/marketplace/actions/label-commenter
113 uses: peaceiris/actions-label-commenter@v1113 uses: peaceiris/actions-label-commenter@v1.10.0
114 with:114 with:
115 config_file: .github/issues-auto-comments.yml115 config_file: .github/issues-auto-comments.yml
116 github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}116 github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
.github/workflows/issues-updates-on-merge.yml+1 -1
@@ -20,7 +20,7 @@ jobs:
20 - name: Checkout Repository20 - name: Checkout Repository
21 # Checkout21 # Checkout
22 # https://github.com/marketplace/actions/checkout22 # https://github.com/marketplace/actions/checkout
23 uses: actions/checkout@v423 uses: actions/checkout@v4.2.2
2424
25 - name: Extract Linked Issues from Commit Message25 - name: Extract Linked Issues from Commit Message
26 id: extract_issues26 id: extract_issues
.github/workflows/job-close-stale.yml+3 -3
@@ -20,7 +20,7 @@ jobs:
20 - name: Mark Issues/PRs without Activity20 - name: Mark Issues/PRs without Activity
21 # Close Stale Issues and PRs21 # Close Stale Issues and PRs
22 # https://github.com/marketplace/actions/close-stale-issues22 # https://github.com/marketplace/actions/close-stale-issues
23 uses: actions/stale@v923 uses: actions/stale@v9.1.0
24 with:24 with:
25 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}25 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
26 days-before-stale: 18326 days-before-stale: 183
@@ -54,7 +54,7 @@ jobs:
54 - name: Mark Issues/PRs Awaiting User Response54 - name: Mark Issues/PRs Awaiting User Response
55 # Close Stale Issues and PRs55 # Close Stale Issues and PRs
56 # https://github.com/marketplace/actions/close-stale-issues56 # https://github.com/marketplace/actions/close-stale-issues
57 uses: actions/stale@v957 uses: actions/stale@v9.1.0
58 with:58 with:
59 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}59 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
60 days-before-stale: 760 days-before-stale: 7
@@ -81,7 +81,7 @@ jobs:
81 - name: Mark Issues with Alternative Exists81 - name: Mark Issues with Alternative Exists
82 # Close Stale Issues and PRs82 # Close Stale Issues and PRs
83 # https://github.com/marketplace/actions/close-stale-issues83 # https://github.com/marketplace/actions/close-stale-issues
84 uses: actions/stale@v984 uses: actions/stale@v9.1.0
85 with:85 with:
86 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}86 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
87 days-before-stale: 787 days-before-stale: 7
.github/workflows/on-close-handler.yml+1 -1
@@ -20,7 +20,7 @@ jobs:
20 - name: Remove Pending Labels on Close20 - name: Remove Pending Labels on Close
21 # πŸ€– Issues Helper21 # πŸ€– Issues Helper
22 # https://github.com/marketplace/actions/issues-helper22 # https://github.com/marketplace/actions/issues-helper
23 uses: actions-cool/issues-helper@v323 uses: actions-cool/issues-helper@v3.6.0
24 with:24 with:
25 actions: remove-labels25 actions: remove-labels
26 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}26 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
.github/workflows/on-open-handler.yml+1 -1
@@ -21,7 +21,7 @@ jobs:
21 - name: Label if Author is a Repo Maintainer21 - name: Label if Author is a Repo Maintainer
22 # πŸ€– Issues Helper22 # πŸ€– Issues Helper
23 # https://github.com/marketplace/actions/issues-helper23 # https://github.com/marketplace/actions/issues-helper
24 uses: actions-cool/issues-helper@v324 uses: actions-cool/issues-helper@v3.6.0
25 with:25 with:
26 actions: 'add-labels'26 actions: 'add-labels'
27 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}27 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
.github/workflows/pr-auto-manager.yml+10 -10
@@ -19,7 +19,7 @@ jobs:
19 - name: Label PR Size19 - name: Label PR Size
20 # Pull Request Size Labeler20 # Pull Request Size Labeler
21 # https://github.com/marketplace/actions/pull-request-size-labeler21 # https://github.com/marketplace/actions/pull-request-size-labeler
22 uses: codelytv/pr-size-labeler@v122 uses: codelytv/pr-size-labeler@v1.10.2
23 with:23 with:
24 GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}24 GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
25 xs_label: '🟩 ⬀○○○○'25 xs_label: '🟩 ⬀○○○○'
@@ -47,12 +47,12 @@ jobs:
47 - name: Checkout Repository47 - name: Checkout Repository
48 # Checkout48 # Checkout
49 # https://github.com/marketplace/actions/checkout49 # https://github.com/marketplace/actions/checkout
50 uses: actions/checkout@v450 uses: actions/checkout@v4.2.2
5151
52 - name: Apply Labels Based on Branch Name and Target Branch52 - name: Apply Labels Based on Branch Name and Target Branch
53 # Pull Request Labeler53 # Pull Request Labeler
54 # https://github.com/marketplace/actions/labeler54 # https://github.com/marketplace/actions/labeler
55 uses: actions/labeler@v555 uses: actions/labeler@v5.0.0
56 with:56 with:
57 configuration-path: .github/pr-auto-labels-by-branch.yml57 configuration-path: .github/pr-auto-labels-by-branch.yml
58 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}58 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -65,12 +65,12 @@ jobs:
65 - name: Checkout Repository65 - name: Checkout Repository
66 # Checkout66 # Checkout
67 # https://github.com/marketplace/actions/checkout67 # https://github.com/marketplace/actions/checkout
68 uses: actions/checkout@v468 uses: actions/checkout@v4.2.2
6969
70 - name: Apply Labels Based on Changed Files70 - name: Apply Labels Based on Changed Files
71 # Pull Request Labeler71 # Pull Request Labeler
72 # https://github.com/marketplace/actions/labeler72 # https://github.com/marketplace/actions/labeler
73 uses: actions/labeler@v573 uses: actions/labeler@v5.0.0
74 with:74 with:
75 configuration-path: .github/pr-auto-labels-by-files.yml75 configuration-path: .github/pr-auto-labels-by-files.yml
76 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}76 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -85,7 +85,7 @@ jobs:
85 - name: Remove Stale Label85 - name: Remove Stale Label
86 # πŸ€– Issues Helper86 # πŸ€– Issues Helper
87 # https://github.com/marketplace/actions/issues-helper87 # https://github.com/marketplace/actions/issues-helper
88 uses: actions-cool/issues-helper@v388 uses: actions-cool/issues-helper@v3.6.0
89 with:89 with:
90 actions: 'remove-labels'90 actions: 'remove-labels'
91 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}91 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -108,9 +108,9 @@ jobs:
108 steps:108 steps:
109 - name: Check Merge Blocking109 - name: Check Merge Blocking
110 # GitHub Script110 # GitHub Script
111 # https://github.com/marketplace/actions/github-scriptLabels111 # https://github.com/marketplace/actions/github-script
112 id: label-check112 id: label-check
113 uses: actions/github-script@v7113 uses: actions/github-script@v7.0.1
114 with:114 with:
115 script: |115 script: |
116 const prLabels = context.payload.pull_request.labels.map(label => label.name);116 const prLabels = context.payload.pull_request.labels.map(label => label.name);
@@ -153,12 +153,12 @@ jobs:
153 - name: Checkout Repository153 - name: Checkout Repository
154 # Checkout154 # Checkout
155 # https://github.com/marketplace/actions/checkout155 # https://github.com/marketplace/actions/checkout
156 uses: actions/checkout@v4156 uses: actions/checkout@v4.2.2
157157
158 - name: Post PR Comments Based on Labels158 - name: Post PR Comments Based on Labels
159 # Label Commenter for PRs159 # Label Commenter for PRs
160 # https://github.com/marketplace/actions/label-commenter160 # https://github.com/marketplace/actions/label-commenter
161 uses: peaceiris/actions-label-commenter@v1161 uses: peaceiris/actions-label-commenter@v1.10.0
162 with:162 with:
163 config_file: .github/pr-auto-comments.yml163 config_file: .github/pr-auto-comments.yml
164 github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}164 github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
.github/workflows/pr-check-merge-conflicts.yaml+1 -1
@@ -20,7 +20,7 @@ jobs:
20 - name: Check Merge Conflicts20 - name: Check Merge Conflicts
21 # Label Conflicting Pull Requests21 # Label Conflicting Pull Requests
22 # https://github.com/marketplace/actions/label-conflicting-pull-requests22 # https://github.com/marketplace/actions/label-conflicting-pull-requests
23 uses: eps1lon/actions-label-merge-conflict@v323 uses: eps1lon/actions-label-merge-conflict@v3.0.3
24 with:24 with:
25 dirtyLabel: '🚫 Merge Conflicts'25 dirtyLabel: '🚫 Merge Conflicts'
26 repoToken: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}26 repoToken: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}