diff --git a/.github/workflows/shared_ci.yml b/.github/workflows/shared_ci.yml index 54a13ed..a75170b 100644 --- a/.github/workflows/shared_ci.yml +++ b/.github/workflows/shared_ci.yml @@ -35,10 +35,6 @@ jobs: uses: boehringer-ingelheim/dv.templates/.github/workflows/pkgdown.yml@main needs: test - styler: - name: Styler 🌐 - uses: boehringer-ingelheim/dv.templates/.github/workflows/styler.yml@main - release: name: Release 📈 uses: boehringer-ingelheim/dv.templates/.github/workflows/release.yml@main diff --git a/.github/workflows/styler.yml b/.github/workflows/styler.yml deleted file mode 100644 index 7b66432..0000000 --- a/.github/workflows/styler.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: Styler 🦄 - -on: - workflow_call: - -concurrency: - group: styler-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - styler: - name: ${{ vars.CI_IMAGE }} - runs-on: ubuntu-latest - container: - image: ${{ vars.CI_IMAGE }} - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - - steps: - - name: Checkout project ⬇️ - uses: actions/checkout@v4 - - - name: Install package dependencies 📄 - uses: boehringer-ingelheim/dv.templates/.github/actions/dependencies@main - - - name: Run styler 🦄 - run: | - changes <- styler::style_pkg(dry = "on") - if (sum(changes[["changed"]]) > 0) { - stop( - "Styler has detected styling issues. Please run styler::style_pkg() and re-commit your changes." - ) - } - shell: Rscript {0} -