Template Applications for renovate bot comparison #453
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: Template Applications for renovate bot comparison | |
on: | |
schedule: | |
- cron: '0 3 * * *' | |
workflow_dispatch: | |
jobs: | |
template-versions: | |
name: Create and commit version template | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.8.0 | |
- name: create templates | |
run: | | |
bin/version-check.sh | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: updated templated argo applications for renovate bot | |
branch: main | |
file_pattern: 'versions/*.yaml' | |
commit_user_name: gepardec-complete | |
commit_author: gepardec-complete <gepardec-complete@github.com> # defaults to author of the commit that triggered the run | |
# Optional. Prevents the shell from expanding filenames. | |
# Details: https://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html | |
disable_globbing: true | |
notify: | |
name: Slack Notifications | |
runs-on: ubuntu-latest | |
if: ${{ failure() }} | |
needs: | |
- template-versions | |
steps: | |
- name: Notify Slack channel on failure | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
SLACK_ICON: https://github.com/fhochleitner/logos/raw/master/helm.png | |
SLACK_USERNAME: ${{ github.repository }} | |
SLACK_COLOR: '#ff0033' | |
SLACK_FOOTER: '' |