chore(ci): configure GitOps deployments for adam-at-deytenit bot actor with GITOPS_TOKEN (#44)
### Summary of Changes - Configured `ci/scripts/deploy-gitops.sh` git user to `adam-at-deytenit` (`221188529+adam-at-deytenit@users.noreply.github.com`) - Updated checkout token in `services-docs-next-required.yml` and `services-www-releases-dispatch-release.yml` to use `secrets.GITOPS_TOKEN || secrets.GITHUB_TOKEN` - Updated Ruleset 13619278 (`next/enforced`) bypass list to allow `adam-at-deytenit` exclusively.
This commit is contained in:
1 parent
7e0969ebbb
commit
83e0b081f3
3 files changed
+4
-4
No files matched your search
@@ -105,7 +105,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: next
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ secrets.GITOPS_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Setup Kustomize
|
||||
uses: imranismail/setup-kustomize@v2
|
||||
|
||||
@@ -320,7 +320,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: next
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ secrets.GITOPS_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Setup Kustomize
|
||||
uses: imranismail/setup-kustomize@v2
|
||||
|
||||
@@ -22,8 +22,8 @@ cd "$APP_DIR"
|
||||
kustomize edit set image "ghcr.io/deytenit/ermnvldmr.com/${SERVICE}=ghcr.io/deytenit/ermnvldmr.com/${SERVICE}:${TAG}"
|
||||
|
||||
cd "$ROOT_DIR"
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config user.name "adam-at-deytenit"
|
||||
git config user.email "221188529+adam-at-deytenit@users.noreply.github.com"
|
||||
git add "ci/k8s/apps/${SERVICE}/kustomization.yaml"
|
||||
|
||||
if git diff --staged --quiet; then
|
||||
|
||||
Reference in new issue
Block a user