Merge pull request #333 from RADAR-base/release-1.2.0 #13
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: Update versions.md | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
update_versions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: setup-helmfile | |
uses: mamezou-tech/[email protected] | |
with: | |
install-helm-plugins: no | |
install-kubectl: no | |
- name: Update versions.md | |
run: bin/version_scan | |
- name: Commit and push if versions.md changed | |
run: | | |
git diff | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Action" | |
git commit -am "Update versions.md" || exit 0 | |
git push |