diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.yml index d3f42c5a9052c..f0b539c7055e5 100644 --- a/.github/workflows/post-merge.yml +++ b/.github/workflows/post-merge.yml @@ -11,26 +11,30 @@ on: jobs: analysis: runs-on: ubuntu-24.04 - if: github.repository == 'rust-lang/rust' +# if: github.repository == 'rust-lang/rust' permissions: pull-requests: write steps: - uses: actions/checkout@v4 + with: + fetch-depth: 10 - name: Perform analysis and send PR + env: + GH_TOKEN: ${{ github.token }} run: | # Get closest bors merge commit PARENT_COMMIT=`git rev-list --author='bors ' -n1 --first-parent HEAD^1` + echo "Parent: ${PARENT_COMMIT}" # Find PR for the current commit HEAD_PR=`gh pr list --search "${{ github.sha }}" --state merged --json number --jq '.[0].number'` - - echo "Parent: ${PARENT_COMMIT}" echo "HEAD: ${{ github.sha }} (#${HEAD_PR})" cd src/ci/citool echo "Post-merge analysis result" > output.log - cargo run --release post-merge-analysis ${PARENT_COMMIT} ${{ github.sha }} >> output.log + # cargo run --release post-merge-analysis ${PARENT_COMMIT} ${{ github.sha }} >> output.log + echo "foo" >> output.log cat output.log gh pr comment ${HEAD_PR} -F output.log diff --git a/README.md b/README.md index d84d96a0e9173..430a7b3c29bad 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,11 @@ [Website][Rust] | [Getting started] | [Learn] | [Documentation] | [Contributing] +WIP +WIP +WIP +PR-1 + This is the main source code repository for [Rust]. It contains the compiler, standard library, and documentation. @@ -44,6 +49,8 @@ Read ["Installation"] from [The Book]. If you really want to install from source (though this is not recommended), see [INSTALL.md](INSTALL.md). +PR-2 WIP + ## Getting Help See https://www.rust-lang.org/community for a list of chat platforms and forums. diff --git a/src/tools/rust-analyzer/.github/workflows/ci.yaml b/src/tools/rust-analyzer/.github/workflows/ci.yaml index bc770dbe71e45..f8b117f1ef0f3 100644 --- a/src/tools/rust-analyzer/.github/workflows/ci.yaml +++ b/src/tools/rust-analyzer/.github/workflows/ci.yaml @@ -75,7 +75,7 @@ jobs: run: echo "::add-matcher::.github/rust.json" - name: Cache Dependencies - uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609 + uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 with: key: ${{ env.RUST_CHANNEL }} @@ -144,7 +144,7 @@ jobs: rustup target add ${{ env.targets }} ${{ env.targets_ide }} - name: Cache Dependencies - uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609 + uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 - name: Check run: |