fix(deps): update dependency io.swagger.core.v3:swagger-models to v2.2.28 #150
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check for submodule updates | |
# | |
# 'on' にしている理由 | |
# yamllintで怒られるため | |
# | |
# 参考: https://github.com/adrienverge/yamllint/issues/430 | |
# | |
'on': | |
pull_request: | |
jobs: | |
check-for-submodule-updates: | |
# | |
# PR 元が renovate 起因の場合、 job skip | |
# (renovate 起因の場合、ブランチ名は renovate/**) | |
# | |
if: ${{ !startsWith(github.head_ref, 'renovate/') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: リポジトリのチェックアウト | |
uses: actions/checkout@v3 | |
- name: github-commentをインストール | |
run: | | |
curl -sSfL -o github-comment.tar.gz "https://github.com/suzuki-shunsuke/github-comment/releases/download/v${GITHUB_COMMENT_VERSION}/github-comment_${GITHUB_COMMENT_VERSION}_linux_amd64.tar.gz" | |
echo 1da8cb9d52395018ec15f876347e204fe632c833baa1831ca36302dec1e0f97a github-comment.tar.gz | sha256sum -c | |
sudo tar -C /usr/bin -xzf ./github-comment.tar.gz | |
env: | |
GITHUB_COMMENT_VERSION: 5.0.0 | |
- name: github-comment のバージョン確認 | |
run: github-comment -v | |
- name: 古いコメントを削除 | |
run: github-comment hide -condition 'Comment.Body contains "make git.check-for-submodule-updates"' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: submoduleが最新かどうかチェック | |
run: github-comment exec --config .github/github-comment.yaml -- make git.check-for-submodule-updates | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |