diff --git a/.github/workflows/parse-new-experience.yml b/.github/workflows/parse-new-experience.yml index c44fe83..fa25f3e 100644 --- a/.github/workflows/parse-new-experience.yml +++ b/.github/workflows/parse-new-experience.yml @@ -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 }}" @@ -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 }}