Skip to content

Commit

Permalink
update to use label
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Oct 2, 2024
1 parent 805abc1 commit 8376442
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/getFigmaImages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@ name: Get Figma Images

on:
push:
# branches:
# - main
branches:
- main
pull_request:
types:
- labeled

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
findNodeReferences:
if: ${{ github.event.label.name == 'update figma images' || github.event_name == 'push' }}
runs-on: ubuntu-latest
env:
FilesToScan: '**/*.mdx'
Expand Down

0 comments on commit 8376442

Please sign in to comment.