Skip to content

Commit

Permalink
ci(action): auto-bump daily and update who notify to (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Jan 12, 2024
1 parent ba50a00 commit f2b6d5a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/bump-golang-previous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ name: bump-golang-previous
on:
workflow_dispatch:
schedule:
- cron: '0 21 * * 6'
- cron: '0 4 * * 1-6'

permissions:
contents: read

env:
JOB_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

jobs:
bump:
runs-on: ubuntu-latest
Expand All @@ -23,3 +26,5 @@ jobs:
vaultUrl: ${{ secrets.VAULT_ADDR }}
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
notifySlackChannel: "#ingest-notifications"
messageIfFailure: ":traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, @agent-team please look what's going on <${{ env.JOB_URL }}|here>"
7 changes: 6 additions & 1 deletion .github/workflows/bump-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ name: bump-golang-main
on:
workflow_dispatch:
schedule:
- cron: '0 20 * * 6'
- cron: '0 3 * * 1-6'

permissions:
contents: read

env:
JOB_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

jobs:
bump:
runs-on: ubuntu-latest
Expand All @@ -22,3 +25,5 @@ jobs:
vaultUrl: ${{ secrets.VAULT_ADDR }}
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
notifySlackChannel: "#ingest-notifications"
messageIfFailure: ":traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, @agent-team please look what's going on <${{ env.JOB_URL }}|here>"

0 comments on commit f2b6d5a

Please sign in to comment.