Skip to content

Trying to figure out what's breaking an OLC check #131

Trying to figure out what's breaking an OLC check

Trying to figure out what's breaking an OLC check #131

Workflow file for this run

# AUTOGENERATED by workflow-preprocessor.js from ../.github/workflow-templates/pr-autofix.yml
name: Autofixers
'on':
- pull_request
jobs:
autofix:
runs-on: ubuntu-latest
if: github.actor != 'khan-actions-bot'
steps:
- uses: actions/checkout@v2
name: '▶️ Setup checkout: '
- id: paths__github_workflow_templates_
name: 'Check paths: .github/workflow-templates/**'
run: >-
BASE=${GITHUB_BASE_REF:-HEAD~1}
if [[ -n $(git diff --name-only refs/remotes/origin/$BASE --relative |
grep '^\.github/workflow-templates/.*$') ]]
then
echo "::set-output name=changed::true"
exit 0
fi
echo "::set-output name=changed::false"
exit 0
- run: yarn
name: '▶️ Setup yarn: '
- name: Rebuild github actions workflow
run: yarn make-workflows
if: steps.paths__github_workflow_templates_.outputs.changed == 'true'
- name: Run prettier
run: >-
node ./node_modules/actions-utils/list-changed-files.js main | grep
'.*\.js$' | xargs npm run -s format-files
- name: Rebuild our "dist" file
run: yarn run dist
- uses: Khan/autofix-commit-action@main
env:
GITHUB_TOKEN: '${{ secrets.KHAN_ACTIONS_BOT_TOKEN }}'