chore(deps): update peter-evans/create-pull-request action to v5 #1254
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: 🤖 Auto update bundled & used icons | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
bundling: | |
if: ${{ !contains(github.head_ref , 'release/') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup global variables | |
uses: ./.github/actions/variables | |
- uses: actions/[email protected] | |
if: env.SUPPORT_AUTO_PUSH == 'true' | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.TINKOFF_BOT_PAT }} | |
- name: Setup Node.js and Cache | |
uses: ./.github/actions/nodejs | |
- run: | | |
npx nx prebuild icons | |
npx nx build icons | |
npx ts-node ./scripts/generate-used-icons.ts | |
npx eslint ./projects/cdk/constants/used-icons.ts --fix | |
npx prettier ./projects/cdk/constants/used-icons.ts --write | |
- name: Auto update bundled & used icons | |
if: env.SUPPORT_AUTO_PUSH == 'true' | |
uses: ./.github/actions/auto-push | |
with: | |
message: icons have changed |