Remove ch33 files #979
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Health Report | |
on: | |
pull_request: | |
branches: | |
- '*' | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
pronto: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@1d0e911f615a112e322369596f10ee0b95b010ae | |
- name: Setup pronto | |
run: gem install pronto pronto-reek faraday-retry | |
- name: Run Pronto | |
env: | |
PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }} | |
PRONTO_GITHUB_ACCESS_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
OCTOKIT_SILENT: true | |
run: pronto run -f github_status github_pr_review -c origin/${{ github.base_ref }} | |
- name: Add Failure label | |
if: failure() && !contains(github.event.pull_request.labels.*.name, 'code-health-failure') | |
uses: actions-ecosystem/action-add-labels@v1 | |
with: | |
number: ${{ github.event.pull_request.number }} | |
labels: | | |
code-health-failure | |
- name: Remove Failure label | |
uses: actions-ecosystem/action-remove-labels@v1 | |
if: success() && contains(github.event.pull_request.labels.*.name, 'code-health-failure') | |
with: | |
number: ${{ github.event.pull_request.number }} | |
labels: | | |
code-health-failure |