Skip to content

fix: asdf issues with updatecli in the tool-versions (#45286) #580

fix: asdf issues with updatecli in the tool-versions (#45286)

fix: asdf issues with updatecli in the tool-versions (#45286) #580

Workflow file for this run

---
name: bump-golang
on:
workflow_dispatch:
schedule:
- cron: "0 20 * * 1-6"
permissions:
contents: read
jobs:
bump:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
strategy:
fail-fast: false
matrix:
file: ['bump-golang.yml', 'bump-golang-7.17.yml']
steps:
- uses: actions/checkout@v4
<<<<<<< HEAD

Check failure on line 25 in .github/workflows/bump-golang.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/bump-golang.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
- name: Install Updatecli in the runner
uses: updatecli/updatecli-action@4aca518a70708e38063453d8de9c551af7f48ac3 # v0.76.1
- name: Run Updatecli in Apply mode
run: updatecli --experimental apply --config .github/workflows/updatecli.d/${{ matrix.file }} --values .github/workflows/updatecli.d/values.d/scm.yml
=======
- uses: elastic/oblt-actions/updatecli/run-and-notify@v1
with:
command: --experimental apply --config .github/workflows/updatecli.d/${{ matrix.file }} --values .github/workflows/updatecli.d/values.d/scm.yml
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
slack-channel-id: "#ingest-notifications"
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"
version-file: .updatecli-version
>>>>>>> 68600b701 (fix: asdf issues with updatecli in the tool-versions (#45286))
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: ${{ failure() }}
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
{
"channel": "#ingest-notifications",
"text": "${{ env.SLACK_MESSAGE }}",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "${{ env.SLACK_MESSAGE }}"
}
}
]
}
env:
SLACK_MESSAGE: ":traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, `@update-me-with-the-slack-team-to-be-poked` please look what's going on <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>"