forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 993 Bytes
/
Copy pathbump-golang.yml
File metadata and controls
30 lines (26 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
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
steps:
- uses: actions/checkout@v6
- uses: elastic/oblt-actions/updatecli/run-and-notify@v1
with:
command: --experimental apply --config .github/workflows/updatecli.d/bump-golang.yml --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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}