Skip to content

Commit cb9f45f

Browse files
renovate[bot]codebotentraskCopilot
authored
Update github actions (#460)
* Update github actions * Update .github/workflows/pull-request-dashboard-drain.yml * Allow Python minor-version upgrades in dashboard wiring guard Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1c218d12-8265-41f7-a953-25882cd6fe53 * Restore Python 3.15 in legacy dashboard drain job Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1c218d12-8265-41f7-a953-25882cd6fe53 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com> Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1c218d12-8265-41f7-a953-25882cd6fe53
1 parent 9ea1b59 commit cb9f45f

12 files changed

Lines changed: 29 additions & 29 deletions

‎.github/scripts/pull-request-dashboard/test_rollout.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ def test_each_drain_job_receives_the_selected_lane_without_github_concurrency(se
119119
)
120120

121121
def test_both_classifier_entry_paths_install_the_sdk_runtime(self) -> None:
122-
for path, requirements in (
123-
(REPO_WORKFLOW, '"$DASHBOARD_CODE/requirements.txt"'),
124-
(DRAIN_WORKFLOW, ".github/scripts/pull-request-dashboard/requirements.txt"),
122+
for path, job, requirements in (
123+
(REPO_WORKFLOW, "update-dashboard", '"$DASHBOARD_CODE/requirements.txt"'),
124+
(DRAIN_WORKFLOW, "drain", ".github/scripts/pull-request-dashboard/requirements.txt"),
125125
):
126-
with self.subTest(workflow=path.name):
127-
text = path.read_text(encoding="utf-8")
126+
with self.subTest(workflow=path.name, job=job):
127+
text = job_blocks(path.read_text(encoding="utf-8"))[job]
128128
self.assertIn("actions/setup-python@", text)
129-
self.assertIn("python-version: '3.14'", text)
129+
self.assertRegex(text, r"(?m)^ +python-version: ['\"]3\.\d+['\"]$")
130130
self.assertIn(f"python -m pip install -r {requirements}", text)
131131
self.assertIn("python -m copilot download-runtime", text)
132132
self.assertLess(

‎.github/workflows/codeql.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
persist-credentials: false
4242

4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
44+
uses: github/codeql-action/init@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3
4545
with:
4646
languages: ${{ matrix.language }}
4747
build-mode: ${{ matrix.build-mode }}
4848

4949
- name: Perform CodeQL analysis
50-
uses: github/codeql-action/analyze@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
50+
uses: github/codeql-action/analyze@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3
5151
with:
5252
category: "/language:${{ matrix.language }}"

‎.github/workflows/github-actions-queue-collector.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
echo EOF
4848
} >> "$GITHUB_OUTPUT"
4949
50-
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
50+
- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
5151
id: collector-token
5252
with:
5353
client-id: ${{ vars.ACTIONS_TELEMETRY_CLIENT_ID }}

‎.github/workflows/promote-pull-request-dashboard.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
working-directory: .github/scripts/pull-request-dashboard
7979
run: python3 -m unittest discover -p 'test_*.py'
8080

81-
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
81+
- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
8282
id: otelbot-token
8383
with:
8484
client-id: ${{ vars.OTELBOT_SHARED_WORKFLOWS_CLIENT_ID }}

‎.github/workflows/pull-request-dashboard-deploy-webhook.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
persist-credentials: false
4545

46-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
46+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
4747
with:
4848
node-version: 24
4949
package-manager-cache: false

‎.github/workflows/pull-request-dashboard-drain.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ jobs:
4343
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4444
with:
4545
persist-credentials: false
46-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
46+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
4747
with:
4848
node-version: 24
4949
package-manager-cache: false
5050
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
5151
with:
52-
python-version: '3.14'
52+
python-version: '3.15'
5353
- name: Install worker dependencies
5454
run: |
5555
npm ci --prefix .github/scripts/pull-request-dashboard
@@ -110,7 +110,7 @@ jobs:
110110
with:
111111
persist-credentials: false
112112

113-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
113+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
114114
with:
115115
node-version: 24
116116
package-manager-cache: false
@@ -141,7 +141,7 @@ jobs:
141141
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
142142
if: steps.claim.outcome == 'success' && steps.claim.outputs.count != '0'
143143
with:
144-
python-version: '3.14'
144+
python-version: '3.15'
145145

146146
- name: Install dashboard dependencies
147147
if: steps.claim.outcome == 'success' && steps.claim.outputs.count != '0'

‎.github/workflows/pull-request-dashboard-refresh-author-nudges.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
with:
103103
persist-credentials: false
104104

105-
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
105+
- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
106106
id: dashboard-token
107107
with:
108108
client-id: ${{ vars.PR_DASHBOARD_CLIENT_ID }}

‎.github/workflows/pull-request-dashboard-repo.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
echo "require_clean_copilot_review_branches_json=$(jq -c '.require_clean_copilot_review_branches // []' <<< "$entry")"
9090
} >> "$GITHUB_OUTPUT"
9191
92-
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
92+
- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
9393
id: dashboard-token
9494
with:
9595
client-id: ${{ vars.PR_DASHBOARD_CLIENT_ID }}
@@ -123,14 +123,14 @@ jobs:
123123
pull-request-dashboard-classifications-${{ steps.config.outputs.name }}-all-
124124
125125
- name: Set up Node.js
126-
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
126+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
127127
with:
128128
node-version: 24
129129
package-manager-cache: false
130130

131131
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
132132
with:
133-
python-version: '3.14'
133+
python-version: '3.15'
134134

135135
- name: Install dashboard dependencies
136136
env:
@@ -275,7 +275,7 @@ jobs:
275275
echo "labels_to_display_json=$(jq -c '.labels_to_display // []' <<< "$entry")"
276276
} >> "$GITHUB_OUTPUT"
277277
278-
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
278+
- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
279279
id: dashboard-token
280280
with:
281281
client-id: ${{ vars.PR_DASHBOARD_CLIENT_ID }}

‎.github/workflows/pull-request-dashboard-test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
persist-credentials: false
2525

26-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
26+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2727
with:
2828
node-version: 24
2929
package-manager-cache: false
@@ -34,7 +34,7 @@ jobs:
3434

3535
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3636
with:
37-
python-version: '3.14'
37+
python-version: '3.15'
3838

3939
- name: Install Python dependencies
4040
working-directory: .github/scripts/pull-request-dashboard

‎.github/workflows/pull-request-dashboard.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ jobs:
196196
echo "channel=stable" >> "$GITHUB_OUTPUT"
197197
fi
198198
199-
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
199+
- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
200200
id: head-sha-token
201201
with:
202202
client-id: ${{ vars.PR_DASHBOARD_CLIENT_ID }}

0 commit comments

Comments
 (0)