Skip to content

Commit b6add3e

Browse files
authored
chore: bump dist, remove old commenting workflows (#21302)
1 parent 39c21d7 commit b6add3e

11 files changed

+14
-446
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -627,16 +627,8 @@ jobs:
627627
cat ecosystem-result-format-preview >> ecosystem-result
628628
echo "" >> ecosystem-result
629629
630-
- name: Export pull request number
631-
run: |
632-
echo ${{ github.event.number }} > pr-number
633-
634-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
635-
name: Upload PR Number
636-
with:
637-
name: pr-number
638-
path: pr-number
639-
630+
# NOTE: astral-sh-bot uses this artifact to post comments on PRs.
631+
# Make sure to update the bot if you rename the artifact.
640632
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
641633
name: Upload Results
642634
with:

.github/workflows/mypy_primer.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,15 @@ jobs:
5959
run: |
6060
cd ruff
6161
scripts/mypy_primer.sh
62-
echo ${{ github.event.number }} > ../pr-number
6362
63+
# NOTE: astral-sh-bot uses this artifact to post comments on PRs.
64+
# Make sure to update the bot if you rename the artifact.
6465
- name: Upload diff
6566
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6667
with:
6768
name: mypy_primer_diff
6869
path: mypy_primer.diff
6970

70-
- name: Upload pr-number
71-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
72-
with:
73-
name: pr-number
74-
path: pr-number
75-
7671
memory_usage:
7772
name: Run memory statistics
7873
runs-on: ${{ github.repository == 'astral-sh/ruff' && 'depot-ubuntu-22.04-32' || 'ubuntu-latest' }}

.github/workflows/mypy_primer_comment.yaml

Lines changed: 0 additions & 122 deletions
This file was deleted.

.github/workflows/pr-comment.yaml

Lines changed: 0 additions & 88 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
# we specify bash to get pipefail; it guards against the `curl` command
6969
# failing. otherwise `sh` won't catch that `curl` returned non-0
7070
shell: bash
71-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.0/cargo-dist-installer.sh | sh"
71+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.2/cargo-dist-installer.sh | sh"
7272
- name: Cache dist
7373
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
7474
with:
@@ -166,8 +166,8 @@ jobs:
166166
- custom-build-binaries
167167
- custom-build-docker
168168
- build-global-artifacts
169-
# Only run if we're "publishing", and only if local and global didn't fail (skipped is fine)
170-
if: ${{ always() && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.custom-build-binaries.result == 'skipped' || needs.custom-build-binaries.result == 'success') && (needs.custom-build-docker.result == 'skipped' || needs.custom-build-docker.result == 'success') }}
169+
# Only run if we're "publishing", and only if plan, local and global didn't fail (skipped is fine)
170+
if: ${{ always() && needs.plan.result == 'success' && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.custom-build-binaries.result == 'skipped' || needs.custom-build-binaries.result == 'success') && (needs.custom-build-docker.result == 'skipped' || needs.custom-build-docker.result == 'success') }}
171171
env:
172172
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
173173
runs-on: "depot-ubuntu-latest-4"

.github/workflows/ty-ecosystem-analyzer.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ jobs:
112112
113113
cat diff-statistics.md >> "$GITHUB_STEP_SUMMARY"
114114
115-
echo ${{ github.event.number }} > pr-number
116-
117115
- name: "Deploy to Cloudflare Pages"
118116
if: ${{ env.CF_API_TOKEN_EXISTS == 'true' }}
119117
id: deploy
@@ -131,18 +129,14 @@ jobs:
131129
echo >> comment.md
132130
echo "**[Full report with detailed diff]($DEPLOYMENT_URL/diff)** ([timing results]($DEPLOYMENT_URL/timing))" >> comment.md
133131
132+
# NOTE: astral-sh-bot uses this artifact to post comments on PRs.
133+
# Make sure to update the bot if you rename the artifact.
134134
- name: Upload comment
135135
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
136136
with:
137137
name: comment.md
138138
path: comment.md
139139

140-
- name: Upload pr-number
141-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
142-
with:
143-
name: pr-number
144-
path: pr-number
145-
146140
- name: Upload diagnostics diff
147141
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
148142
with:

.github/workflows/ty-ecosystem-analyzer_comment.yaml

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)