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: reduce the running of ci #5291

Merged
merged 1 commit into from
Oct 9, 2023
Merged

ci: reduce the running of ci #5291

merged 1 commit into from
Oct 9, 2023

Conversation

uiolee
Copy link
Member

@uiolee uiolee commented Sep 12, 2023

I guess it's not always necessary to run ci.

  1. linter and tester only need to be executed when the code or environment changes
  2. dependabot causes ci to run twice
    dependabot

What does it do?

  1. add paths filter. only run ci when the code changes.
  2. add branches filter. only run ci in specified branches.

@github-actions
Copy link

How to test

git clone -b ci https://github.com/uiolee/hexo.git
cd hexo
npm install
npm test

@D-Sketon
Copy link
Member

Did #5153 cause the test to fail?

@yoshinorin yoshinorin merged commit ad05652 into hexojs:master Oct 9, 2023
5 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants