Skip to content

Commit

Permalink
feat: assign reviewer on creation
Browse files Browse the repository at this point in the history
will only succeed on first push
  • Loading branch information
Mossman1215 authored and ardrigh committed Apr 22, 2024
1 parent 5c56d1a commit 150a962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-image-digests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
git branch "${NEW_BRANCH}"
git checkout "${NEW_BRANCH}"
git commit -s -m "chore: update sync config.yaml images for ${TIMESTAMP}" -m "updates sync config.yaml images for ${TIMESTAMP}"
git push -f origin "${NEW_BRANCH}"
git push origin "${NEW_BRANCH}"
if ! gh label list --json name --jq .[].name | grep -Eq '^image-digest-update$'; then
gh label create image-digest-update || true
fi
gh pr --label image-digest-update create --title "Update sync config.yaml images ${TIMESTAMP}" --body "updates sync config.yaml images for ${TIMESTAMP}"
gh pr --label image-digest-update create --title "Update sync config.yaml images ${TIMESTAMP}" --reviewer GeoNet/platform-team --body "updates sync config.yaml images for ${TIMESTAMP}"

0 comments on commit 150a962

Please sign in to comment.