Skip to content

Commit

Permalink
fix: execution target
Browse files Browse the repository at this point in the history
  • Loading branch information
sushichan044 committed Oct 21, 2024
1 parent 8b2096e commit ce7252c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ on:

jobs:
filter-pr:
if: github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.comment.body == '/update-snapshot'
runs-on: ubuntu-24.04
outputs:
eslint: ${{ steps.filter.outputs.eslint }}
prettier: ${{ steps.filter.outputs.prettier }}
stylelint: ${{ steps.filter.outputs.stylelint }}
eslint: ${{ false || steps.filter.outputs.eslint }}
prettier: ${{ false || steps.filter.outputs.prettier }}
stylelint: ${{ false || steps.filter.outputs.stylelint }}

steps:
- name: Check changed packages (PR Comment)
if: github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.comment.body == '/update-snapshot'
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
echo "eslint=${{ github.event.inputs.eslint }}" >> $GITHUB_OUTPUT
echo "prettier=${{ github.event.inputs.prettier }}" >> $GITHUB_OUTPUT
echo "stylelint=${{ github.event.inputs.stylelint }}" >> $GITHUB_OUTPUT
else if [ ${{ github.event_name == 'issue_comment' }} ]; then
elif [ ${{ github.event_name == 'issue_comment' }} ]; then
echo "eslint=${{ needs.filter-pr.outputs.eslint }}" >> $GITHUB_OUTPUT
echo "prettier=${{ needs.filter-pr.outputs.prettier }}" >> $GITHUB_OUTPUT
echo "stylelint=${{ needs.filter-pr.outputs.stylelint }}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit ce7252c

Please sign in to comment.