This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
bump-aliases #376
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: bump-aliases | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 15 * * 1-5' | |
permissions: | |
contents: read | |
jobs: | |
bump: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: elastic/oblt-actions/updatecli/run-and-notify@v1 | |
with: | |
command: --experimental apply --config updatecli/updatecli.d/bump-aliases.yml --values updatecli/values.yml | |
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }} | |
slack-channel-id: "#observablt-bots" | |
slack-message: ":traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, @robots-ci please look what's going on <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>" | |
slack-send-when: 'failure' | |
env: | |
GITHUB_TOKEN: ${{ secrets.UPDATECLI_GH_TOKEN }} |