Change README-CN to README-ZH #1041
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: Check Resources | |
on: [push,pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source Files | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Ruby 2.6 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
bundler-cache: true | |
- name: Run checks | |
id: checks | |
# shell: bash +e +o pipefail {0} | |
continue-on-error: true | |
run: | | |
gem install awesome_bot | |
awesome_bot \ | |
-f README*.md \ | |
--allow 302,429 \ | |
--white-list https://www.firsttimersonly.com/,https://github.com/github,https://creativecommons.org/licenses/by-sa/4.0/,https://github.com/kentcdodds | |
# - name: Run Danger | |
# uses: MeilCli/danger-action@v5 | |
# with: | |
# plugins_file: 'Gemfile' | |
# install_path: 'vendor/bundle' | |
# danger_file: 'Dangerfile' | |
# danger_id: 'danger-ci' | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |