Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update Seperate steps to resolve nothing to commit #37

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

Merged
codeisneverodd merged 2 commits into main from cruelladevil-readme-test
Apr 20, 2022

Conversation

Copy link
Owner

@codeisneverodd codeisneverodd commented Apr 20, 2022

README.md에 변경사항이 없으면 get diff 에서 끝나고,

- name: get diff
 id: get_diff
 run: |
 git diff --quiet ./README.md || echo "::set-output name=new_changes_exist::true"

변경사항이 있으면, update README.md 가 실행됩니다.

- name: update README.md
 if: steps.get_diff.outputs.new_changes_exist == 'true'
 run: |
 git add ./README.md
 git config user.name github-actions
 git config user.email github-actions@github.com
 git commit -m "Automatic Update README.md"
 git push

그러므로 앞으로 README.md에 변경사항이 없을 시에도 ci build는 통과될 것입니다.

Copy link
Owner Author

@cruelladevil 테스트 브랜치 확인 후 main에 적용하였습니다 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /