https://github.com/prettier/shared-workflows
Shared workflows for Prettier organization
https://github.com/prettier/shared-workflows
Last synced: 3 months ago
JSON representation
Shared workflows for Prettier organization
- Host: GitHub
- URL: https://github.com/prettier/shared-workflows
- Owner: prettier
- License: mit
- Created: 2025-03-07T10:31:04.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-07T11:10:40.000Z (3 months ago)
- Last Synced: 2025-03-07T11:33:35.740Z (3 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Shared workflows for Prettier organization
About [reuseable workflows](https://docs.github.com/en/actions/sharing-automations/reusing-workflows).
## automated-fix.yml
```yml
name: autofix.ci # needed to securely identify the workflowon:
pull_request:concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: truejobs:
fix:
name: Run automated fix
uses: prettier/shared-workflows/.github/workflows/automated-fix.yml@main
with:
repository: prettier/prettier
script: |
yarn
yarn fix || true
```