Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/images/mkdocs_plus/pillow-10.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BobyMCbobs authored Oct 5, 2023
2 parents 85ec527 + 8bc16d1 commit b781755
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/update-image-digests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
schedule:
- cron: 0 1 * * *
workflow_dispatch: {}
permissions:
contents: write
pull-requests: write
issues: write
jobs:
update-image-digests:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -49,8 +53,11 @@ jobs:
git commit -s -m "chore: update sync config.yaml images for ${TIMESTAMP}"
git push -f 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
ACTION=create
if [ "$HAS_EXISTING" = true ]; then
ACTION=edit
fi
gh pr "$ACTION" --title "Update sync config.yaml images ${TIMESTAMP}" --body "updates sync config.yaml images for ${TIMESTAMP}"
gh pr --label image-digest-update "$ACTION" --title "Update sync config.yaml images ${TIMESTAMP}" --body "updates sync config.yaml images for ${TIMESTAMP}"

0 comments on commit b781755

Please sign in to comment.