Skip to content

Commit 4e79475

Browse files
authored
Merge branch 'main' into main
2 parents 9a7daa3 + 7c41ee6 commit 4e79475

4,618 files changed

Lines changed: 101714 additions & 50181 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
- try
1616
- try-perf
1717
- automation/bors/try
18+
- automation/bors/auto
1819
pull_request:
1920
branches:
2021
- "**"
@@ -56,7 +57,7 @@ jobs:
5657
- name: Test citool
5758
# Only test citool on the auto branch, to reduce latency of the calculate matrix job
5859
# on PR/try builds.
59-
if: ${{ github.ref == 'refs/heads/auto' }}
60+
if: ${{ github.ref == 'refs/heads/auto' || github.ref == 'refs/heads/automation/bors/auto' }}
6061
run: |
6162
cd src/ci/citool
6263
CARGO_INCREMENTAL=0 cargo test
@@ -79,7 +80,7 @@ jobs:
7980
# access the environment.
8081
#
8182
# We only enable the environment for the rust-lang/rust repository, so that CI works on forks.
82-
environment: ${{ ((github.repository == 'rust-lang/rust' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf' || github.ref == 'refs/heads/automation/bors/try' || github.ref == 'refs/heads/auto')) && 'bors') || '' }}
83+
environment: ${{ ((github.repository == 'rust-lang/rust' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf' || github.ref == 'refs/heads/automation/bors/try' || github.ref == 'refs/heads/auto' || github.ref == 'refs/heads/automation/bors/auto')) && 'bors') || '' }}
8384
env:
8485
CI_JOB_NAME: ${{ matrix.name }}
8586
CI_JOB_DOC_URL: ${{ matrix.doc_url }}
@@ -288,7 +289,7 @@ jobs:
288289
fi
289290
290291
# Get closest bors merge commit
291-
PARENT_COMMIT=`git rev-list --author='bors <bors@rust-lang.org>' -n1 --first-parent HEAD^1`
292+
PARENT_COMMIT=`git rev-list --author='122020455+rust-bors\[bot\]@users.noreply.github.com' -n1 --first-parent HEAD^1`
292293
293294
./build/citool/debug/citool postprocess-metrics \
294295
--job-name ${CI_JOB_NAME} \
@@ -313,7 +314,7 @@ jobs:
313314
needs: [ calculate_matrix, job ]
314315
# !cancelled() executes the job regardless of whether the previous jobs passed or failed
315316
if: ${{ !cancelled() && contains(fromJSON('["auto", "try"]'), needs.calculate_matrix.outputs.run_type) }}
316-
environment: ${{ ((github.repository == 'rust-lang/rust' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf' || github.ref == 'refs/heads/automation/bors/try' || github.ref == 'refs/heads/auto')) && 'bors') || '' }}
317+
environment: ${{ ((github.repository == 'rust-lang/rust' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf' || github.ref == 'refs/heads/automation/bors/try' || github.ref == 'refs/heads/auto' || github.ref == 'refs/heads/automation/bors/auto')) && 'bors') || '' }}
317318
steps:
318319
- name: checkout the source code
319320
uses: actions/checkout@v5

.github/workflows/post-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
sleep 60
3030
3131
# Get closest bors merge commit
32-
PARENT_COMMIT=`git rev-list --author='bors <bors@rust-lang.org>' -n1 --first-parent HEAD^1`
32+
PARENT_COMMIT=`git rev-list --author='122020455+rust-bors\[bot\]@users.noreply.github.com' -n1 --first-parent HEAD^1`
3333
echo "Parent: ${PARENT_COMMIT}"
3434
3535
# Find PR for the current commit

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ Lzu Tao <taolzu@gmail.com>
431431
Maik Klein <maikklein@googlemail.com>
432432
Maja Kądziołka <maya@compilercrim.es> <github@compilercrim.es>
433433
Maja Kądziołka <maya@compilercrim.es> <kuba@kadziolka.net>
434+
Makai <m4kai410@gmail.com>
434435
Malo Jaffré <jaffre.malo@gmail.com>
435436
Manish Goregaokar <manishsmail@gmail.com>
436437
Mara Bos <m-ou.se@m-ou.se>

0 commit comments

Comments
 (0)