Skip to content

Commit

Permalink
renovateブランチは実行をスキップする
Browse files Browse the repository at this point in the history
  • Loading branch information
k35o authored Aug 31, 2024
1 parent d2ce6b0 commit 9f2197a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,8 @@ name: 'Chromatic'
on: push

jobs:
setup:
runs-on: ubuntu-latest
outputs:
environment: ${{ steps.step1.outputs.environment }}
steps:
- name: set environment
id: step1
if: ${{ github.actor == 'renovate[bot]' }}
run: echo "environment=Renovate" >> "$GITHUB_OUTPUT"

chromatic-deployment:
runs-on: ubuntu-latest
needs: setup
environment: ${{ needs.setup.outputs.environment }}
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -48,3 +36,4 @@ jobs:
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true
skip: "renovate/**"

0 comments on commit 9f2197a

Please sign in to comment.