fix(deps): update python to v3.14.2 - autoclosed #605
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: Prettier | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| prettier: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
| with: | |
| ref: ${{ github.head_ref }} # so PRs resolve to correct branch | |
| fetch-depth: 0 # needed for only_changed below | |
| persist-credentials: false | |
| - name: Create GitHub App Token | |
| id: app-token | |
| uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3 | |
| with: | |
| app-id: ${{ secrets.VERSION_CLI_UPDATER_APP_ID }} | |
| private-key: ${{ secrets.VERSION_CLI_UPDATER_PRIVATE_KEY }} | |
| - name: Prettify code | |
| uses: creyD/prettier_action@31355f8eef017f8aeba2e0bc09d8502b13dbbad1 # v4.3 | |
| with: | |
| commit_message: "Prettier" | |
| only_changed: True | |
| github_token: ${{ steps.app-token.outputs.token }} | |
| prettier_options: --write . # the `.` targets all files which prettier _can_ parse, and ignores all others |