Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(pr-test): add path filter to skip some unnecessary checks #10549

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Dec 8, 2022

Description

add path filter to skip some unnecessary tests

Related issues and pull requests

consist with mdn/content#21305

@yin1999 yin1999 requested a review from a team as a code owner December 8, 2022 11:01
@github-actions github-actions bot added the system Infrastructure and configuration for the project label Dec 8, 2022
@@ -56,7 +59,7 @@ jobs:

# filter out files that are not attachments
# note that we should get the absolute path of the changed attachments
GIT_DIFF_FILES=$(echo "${DIFF_DOCUMENTS}" | egrep -i "^files/.*\.(png|jpeg|jpg|gif|svg|webp)$" | xargs readlink -e | tr "\n" " ")
GIT_DIFF_FILES=$(echo "${DIFF_DOCUMENTS}" | egrep -i "^files/.*\.(png|jpeg|jpg|gif|svg|webp)$" | xargs readlink -e | xargs)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consist with line 57 (forgot to change this one before)

@caugner caugner merged commit d1f703a into mdn:main Dec 8, 2022
@yin1999 yin1999 deleted the filter-ci branch December 8, 2022 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system Infrastructure and configuration for the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants