From 1ff3695ca237afe533248424ac778e4c2c5388e7 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Mon, 7 Jun 2021 06:11:11 -0400 Subject: [PATCH] Revert "Use the Blue Style guide, and automatically make PRs to fix code formatting" --- .github/workflows/format_pr.yml | 29 ----------------------------- README.md | 5 ++--- 2 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 .github/workflows/format_pr.yml diff --git a/.github/workflows/format_pr.yml b/.github/workflows/format_pr.yml deleted file mode 100644 index 31c00b09..00000000 --- a/.github/workflows/format_pr.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Code Formatting -on: - push: - branches: - - master - workflow_dispatch: -jobs: - format_pr: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Install the JuliaFormatter package - run: julia --color=yes -e 'using Pkg; Pkg.add(name = "JuliaFormatter", uuid = "98e50ef6-434e-11e9-1051-2b60c6c9e899")' - - name: Precompile dependencies - run: julia --color=yes -e 'using Pkg; Pkg.precompile()' - - name: Use JuliaFormatter to format the code with the BlueStyle style - run: julia --color=yes -e 'using JuliaFormatter; format(".", BlueStyle(); verbose = true)' - - name: Create pull request - id: create_pr - uses: peter-evans/create-pull-request@9825ae65b1cb54b543b938503728b432a0176d29 # v3.10.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: '🤖 Automatically format the source code files' - title: '🤖 Automatically format the source code files' - body: 'This pull request formats the source code files using the JuliaFormatter package.' - branch: bot/format_pr/${{ github.ref }} - delete-branch: true - - run: echo "The pull request number is ${{ steps.create_pr.outputs.pull-request-number }}" - - run: echo "The pull request URL is ${{ steps.create_pr.outputs.pull-request-url }}" diff --git a/README.md b/README.md index f1a9152e..bc11f47d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ | Integration Tests | [![Continuous Integration (Integration Tests)][ci-integration-img]][ci-integration-url] | | Documentation | [![Documentation (stable)][docs-stable-img]][docs-stable-url] [![Documentation (dev)][docs-dev-img]][docs-dev-url] | | Code Coverage | [![Code Coverage][codecov-img]][codecov-url] | -| Style Guide | [![Style Guide][bluestyle-img]][bluestyle-url] | [docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg "Documentation (stable)" [docs-stable-url]: https://JuliaRegistries.github.io/RegistryCI.jl/stable @@ -18,8 +17,8 @@ [ci-integration-url]: https://github.com/JuliaRegistries/RegistryCI.jl/actions?query=workflow%3A%22CI+%28integration+tests%29%22 [codecov-img]: https://codecov.io/gh/JuliaRegistries/RegistryCI.jl/branch/master/graph/badge.svg "Code Coverage" [codecov-url]: https://codecov.io/gh/JuliaRegistries/RegistryCI.jl/branch/master -[bluestyle-img]: https://img.shields.io/badge/code%20style-blue-4495d1.svg "Blue Style" -[bluestyle-url]: https://github.com/invenia/BlueStyle +[bors-img]: https://bors.tech/images/badge_small.svg "Bors" +[bors-url]: https://app.bors.tech/repositories/25657 RegistryCI.jl provides continuous integration (CI) tools for Julia package registries, including registry consistency testing, automatic merging (automerge) of pull requests, and automatic TagBot triggers.