Skip to content

ci: drop title-case job display names (#37) #6

ci: drop title-case job display names (#37)

ci: drop title-case job display names (#37) #6

Workflow file for this run

---
name: sync
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
sync:
# In-cluster runner; kubectl uses its auto-mounted SA token to talk to
# the API directly. The tfroot-runner image has kubectl preinstalled.
runs-on: arc-tf
steps:
- name: Sync ArgoCD bootstrap Applications
run: |
for app in bootstrap-secrets gitops-operators gitops-workloads; do
kubectl -n argocd patch application "$app" \
--type=merge \
-p '{"operation":{"initiatedBy":{"username":"github-actions"},"sync":{"revision":"${{ github.sha }}"}}}'
done