Migrate per diem subrate step to dynamic routes (#83850 part 3) #78522
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: Check unused styles | |
| on: | |
| workflow_call: | |
| pull_request: | |
| types: [opened, synchronize] | |
| branches-ignore: [staging, production] | |
| paths: ['src/**', '.github/workflows/unused-styles.yml', 'scripts/findUnusedStyles.ts'] | |
| concurrency: | |
| group: ${{ github.ref == 'refs/heads/main' && format('{0}-{1}', github.ref, github.sha) || github.ref }}-unused-styles | |
| cancel-in-progress: true | |
| jobs: | |
| check-unused-styles: | |
| name: Check for unused styles | |
| if: ${{ github.event.head_commit.author.name != 'OSBotify' || github.event_name == 'workflow_call' }} | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| steps: | |
| - name: Checkout | |
| uses: useblacksmith/checkout@1c9394c220d293645707b625ba9d79685f093a8f # v1 | |
| - name: Setup Node | |
| uses: ./.github/actions/composite/setupNode | |
| - name: Run unused style searcher | |
| run: npx bun scripts/findUnusedStyles.ts |