Skip to content

Commit

Permalink
ci(previews): revert to creating PR (catppuccin#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham authored Oct 27, 2024
1 parent ef667b6 commit b2d3d7a
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/previews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ name: Generate Previews

on:
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
branches:
- main
push:
branches: [main]
paths:
- 'icons/**'
- scripts/icons/preview.ts
- scripts/catwalk.ts
tags-ignore: [v*]

jobs:
generate-previews:
Expand Down Expand Up @@ -41,8 +38,12 @@ jobs:
- name: Generate Catwalk Preview
run: pnpm catwalk

- name: Commit
uses: stefanzweifel/[email protected]
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
file_pattern: 'assets/*'
commit_message: 'chore: regenerate previews'
title: 'chore: re-generate previews'
commit-message: 'chore: re-generate previews'
branch: chore/re-generate-previews
delete-branch: true
add-paths: |
assets/*

0 comments on commit b2d3d7a

Please sign in to comment.