Workflows ensure explicit versions of actions

892fe7bd34226eec5e83fb50843b4dea5f46b952

Wolfsblvt <wolfsblvt@gmail.com>

7 files changed, +26 -26Ignore whitespace
.github/workflows/issues-auto-manager.yml+9 -9
@@ -20,7 +20,7 @@ jobs:
2020 - name: Checkout Repository
2121 # Checkout
2222 # https://github.com/marketplace/actions/checkout
2323 uses: actions/checkout@v4.2.2
2424
2525 - name: Auto-Label Issues (Based on Issue Content)
2626 # only auto label based on issue content once, on open (to prevent re-labeling removed labels)
@@ -28,7 +28,7 @@ jobs:
2828
2929 # Issue Labeler
3030 # https://github.com/marketplace/actions/regex-issue-labeler
3131 uses: github/issue-labeler@v3.4
3232 with:
3333 configuration-path: .github/issues-auto-labels.yml
3434 enable-versioned-regex: 0
@@ -43,7 +43,7 @@ jobs:
4343 if: contains(fromJSON('["πŸ‘©β€πŸ’» Good First Issue", "πŸ™ Help Wanted", "πŸͺ² Confirmed", "⚠️ High Priority", "❕ Medium Priority", "πŸ’€ Low Priority"]'), github.event.label.name)
4444 # πŸ€– Issues Helper
4545 # https://github.com/marketplace/actions/issues-helper
4646 uses: actions-cool/issues-helper@v3.6.0
4747 with:
4848 actions: 'add-labels'
4949 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -53,7 +53,7 @@ jobs:
5353 if: contains(fromJSON('["βœ… Done", "βœ… Done (staging)", "⚰️ Stale", "❌ wontfix"]'), github.event.label.name)
5454 # πŸ€– Issues Helper
5555 # https://github.com/marketplace/actions/issues-helper
5656 uses: actions-cool/issues-helper@v3.6.0
5757 with:
5858 actions: 'remove-labels'
5959 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -63,7 +63,7 @@ jobs:
6363 if: contains(fromJSON('["❌ wontfix","πŸ‘ Approved","πŸ‘©β€πŸ’» Good First Issue"]'), github.event.label.name)
6464 # πŸ€– Issues Helper
6565 # https://github.com/marketplace/actions/issues-helper
6666 uses: actions-cool/issues-helper@v3.6.0
6767 with:
6868 actions: 'remove-labels'
6969 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -73,7 +73,7 @@ jobs:
7373 if: github.event.label.name == 'πŸͺ² Confirmed'
7474 # πŸ€– Issues Helper
7575 # https://github.com/marketplace/actions/issues-helper
7676 uses: actions-cool/issues-helper@v3.6.0
7777 with:
7878 actions: 'remove-labels'
7979 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -89,7 +89,7 @@ jobs:
8989 - name: Remove Stale Label
9090 # πŸ€– Issues Helper
9191 # https://github.com/marketplace/actions/issues-helper
9292 uses: actions-cool/issues-helper@v3.6.0
9393 with:
9494 actions: 'remove-labels'
9595 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -105,12 +105,12 @@ jobs:
105105 - name: Checkout Repository
106106 # Checkout
107107 # https://github.com/marketplace/actions/checkout
108108 uses: actions/checkout@v4.2.2
109109
110110 - name: Post Issue Comments Based on Labels
111111 # Label Commenter
112112 # https://github.com/marketplace/actions/label-commenter
113113 uses: peaceiris/actions-label-commenter@v1.10.0
114114 with:
115115 config_file: .github/issues-auto-comments.yml
116116 github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
.github/workflows/issues-updates-on-merge.yml+1 -1
@@ -20,7 +20,7 @@ jobs:
2020 - name: Checkout Repository
2121 # Checkout
2222 # https://github.com/marketplace/actions/checkout
2323 uses: actions/checkout@v4.2.2
2424
2525 - name: Extract Linked Issues from Commit Message
2626 id: extract_issues
.github/workflows/job-close-stale.yml+3 -3
@@ -20,7 +20,7 @@ jobs:
2020 - name: Mark Issues/PRs without Activity
2121 # Close Stale Issues and PRs
2222 # https://github.com/marketplace/actions/close-stale-issues
2323 uses: actions/stale@v9.1.0
2424 with:
2525 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
2626 days-before-stale: 183
@@ -54,7 +54,7 @@ jobs:
5454 - name: Mark Issues/PRs Awaiting User Response
5555 # Close Stale Issues and PRs
5656 # https://github.com/marketplace/actions/close-stale-issues
5757 uses: actions/stale@v9.1.0
5858 with:
5959 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
6060 days-before-stale: 7
@@ -81,7 +81,7 @@ jobs:
8181 - name: Mark Issues with Alternative Exists
8282 # Close Stale Issues and PRs
8383 # https://github.com/marketplace/actions/close-stale-issues
8484 uses: actions/stale@v9.1.0
8585 with:
8686 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
8787 days-before-stale: 7
.github/workflows/on-close-handler.yml+1 -1
@@ -20,7 +20,7 @@ jobs:
2020 - name: Remove Pending Labels on Close
2121 # πŸ€– Issues Helper
2222 # https://github.com/marketplace/actions/issues-helper
2323 uses: actions-cool/issues-helper@v3.6.0
2424 with:
2525 actions: remove-labels
2626 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
.github/workflows/on-open-handler.yml+1 -1
@@ -21,7 +21,7 @@ jobs:
2121 - name: Label if Author is a Repo Maintainer
2222 # πŸ€– Issues Helper
2323 # https://github.com/marketplace/actions/issues-helper
2424 uses: actions-cool/issues-helper@v3.6.0
2525 with:
2626 actions: 'add-labels'
2727 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
.github/workflows/pr-auto-manager.yml+10 -10
@@ -19,7 +19,7 @@ jobs:
1919 - name: Label PR Size
2020 # Pull Request Size Labeler
2121 # https://github.com/marketplace/actions/pull-request-size-labeler
2222 uses: codelytv/pr-size-labeler@v1.10.2
2323 with:
2424 GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
2525 xs_label: '🟩 ⬀○○○○'
@@ -47,12 +47,12 @@ jobs:
4747 - name: Checkout Repository
4848 # Checkout
4949 # https://github.com/marketplace/actions/checkout
5050 uses: actions/checkout@v4.2.2
5151
5252 - name: Apply Labels Based on Branch Name and Target Branch
5353 # Pull Request Labeler
5454 # https://github.com/marketplace/actions/labeler
5555 uses: actions/labeler@v5.0.0
5656 with:
5757 configuration-path: .github/pr-auto-labels-by-branch.yml
5858 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -65,12 +65,12 @@ jobs:
6565 - name: Checkout Repository
6666 # Checkout
6767 # https://github.com/marketplace/actions/checkout
6868 uses: actions/checkout@v4.2.2
6969
7070 - name: Apply Labels Based on Changed Files
7171 # Pull Request Labeler
7272 # https://github.com/marketplace/actions/labeler
7373 uses: actions/labeler@v5.0.0
7474 with:
7575 configuration-path: .github/pr-auto-labels-by-files.yml
7676 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -85,7 +85,7 @@ jobs:
8585 - name: Remove Stale Label
8686 # πŸ€– Issues Helper
8787 # https://github.com/marketplace/actions/issues-helper
8888 uses: actions-cool/issues-helper@v3.6.0
8989 with:
9090 actions: 'remove-labels'
9191 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
@@ -108,9 +108,9 @@ jobs:
108108 steps:
109109 - name: Check Merge Blocking
110110 # GitHub Script
111111 # https://github.com/marketplace/actions/github-scriptLabelsscript
112112 id: label-check
113113 uses: actions/github-script@v7.0.1
114114 with:
115115 script: |
116116 const prLabels = context.payload.pull_request.labels.map(label => label.name);
@@ -153,12 +153,12 @@ jobs:
153153 - name: Checkout Repository
154154 # Checkout
155155 # https://github.com/marketplace/actions/checkout
156156 uses: actions/checkout@v4.2.2
157157
158158 - name: Post PR Comments Based on Labels
159159 # Label Commenter for PRs
160160 # https://github.com/marketplace/actions/label-commenter
161161 uses: peaceiris/actions-label-commenter@v1.10.0
162162 with:
163163 config_file: .github/pr-auto-comments.yml
164164 github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
.github/workflows/pr-check-merge-conflicts.yaml+1 -1
@@ -20,7 +20,7 @@ jobs:
2020 - name: Check Merge Conflicts
2121 # Label Conflicting Pull Requests
2222 # https://github.com/marketplace/actions/label-conflicting-pull-requests
2323 uses: eps1lon/actions-label-merge-conflict@v3.0.3
2424 with:
2525 dirtyLabel: '🚫 Merge Conflicts'
2626 repoToken: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}