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/compiler/rustc_codegen_cranelift/.github/actions/github-release/package-lock.json b/compiler/rustc_codegen_cranelift/.github/actions/github-release/package-lock.json index dd3b2a048f094..3470521cf2064 100644 --- a/compiler/rustc_codegen_cranelift/.github/actions/github-release/package-lock.json +++ b/compiler/rustc_codegen_cranelift/.github/actions/github-release/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "rustc_codegen_cranelift-github-release", "version": "0.0.0", + "license": "Apache-2.0 WITH LLVM-exception", "dependencies": { "@actions/core": "^1.9.1", "@actions/github": "^5.1.0", @@ -23,9 +24,9 @@ } }, "node_modules/@actions/github": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.0.tgz", - "integrity": "sha512-tuI80F7JQIhg77ZTTgUAPpVD7ZnP9oHSPN8xw7LOwtA4vEMbAjWJNbmLBfV7xua7r016GyjzWLuec5cs8f/a8A==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz", + "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==", "dependencies": { "@actions/http-client": "^2.0.1", "@octokit/core": "^3.6.0", @@ -320,9 +321,9 @@ } }, "@actions/github": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.0.tgz", - "integrity": "sha512-tuI80F7JQIhg77ZTTgUAPpVD7ZnP9oHSPN8xw7LOwtA4vEMbAjWJNbmLBfV7xua7r016GyjzWLuec5cs8f/a8A==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz", + "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==", "requires": { "@actions/http-client": "^2.0.1", "@octokit/core": "^3.6.0",