Skip to content

Commit

Permalink
Update skip-validation triggering
Browse files Browse the repository at this point in the history
  • Loading branch information
fuksman committed Mar 12, 2024
1 parent b99d085 commit 95318db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/parse-new-experience.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:

- name: Create Pull Request
id: cpr
if: ${{ env.zip_file_missing == 'false' && env.restrictions_exceeded == 'false' && env.incorrect_screen_format == 'false' && env.validation_error == 'false' }}
if: ${{ (env.zip_file_missing == 'false' && env.restrictions_exceeded == 'false' && env.incorrect_screen_format == 'false' && env.validation_error == 'false') || github.event.label.name == 'skip_validation' }}
uses: peter-evans/create-pull-request@v5
with:
commit-message: "Add preview for ${{ steps.issue-parser.outputs.issueparser_title }}"
Expand All @@ -179,7 +179,7 @@ jobs:
body: "Based on issue #${{ github.event.issue.number }}"

- name: Comment on Issue
if: ${{ env.zip_file_missing == 'false' && env.restrictions_exceeded == 'false' && env.incorrect_screen_format == 'false' && env.validation_error == 'false' }}
if: ${{ (env.zip_file_missing == 'false' && env.restrictions_exceeded == 'false' && env.incorrect_screen_format == 'false' && env.validation_error == 'false') || github.event.label.name == 'skip_validation' }}
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 95318db

Please sign in to comment.