Skip to content

chore(deps): update peter-evans/create-pull-request action to v5 #1254

chore(deps): update peter-evans/create-pull-request action to v5

chore(deps): update peter-evans/create-pull-request action to v5 #1254

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