now the links on the protein page for Other Forms are now linking to … #73
Workflow file for this run
This file contains hidden or 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: autofix.ci | |
| on: | |
| pull_request: | |
| push: | |
| permissions: | |
| contents: write | |
| jobs: | |
| prettier: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # important so git diff works | |
| - uses: actions/setup-node@v4 | |
| - name: Install deps | |
| run: yarn | |
| - name: Run prettier on changed files | |
| run: | | |
| CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD \ | |
| | grep -E '\.(ts|tsx|js|jsx|json|md|yaml|yml|css|scss)$' || true) | |
| if [ -n "$CHANGED_FILES" ]; then | |
| echo "$CHANGED_FILES" | xargs yarn prettier --write | |
| else | |
| echo "No files to format" | |
| fi | |
| - uses: autofix-ci/action@v1 | |
| with: | |
| commit-message: "Apply Prettier format" |