From 1a8e6c5c261bd7e52cd2ccd3c50eedfa220d9fab Mon Sep 17 00:00:00 2001 From: Culture Amp CI Date: Fri, 29 Nov 2024 16:22:18 +1100 Subject: [PATCH] chore: Add renovate workflows triggers --- ...novate-trigger-automerges-on-rollup-changes.yml | 14 ++++++++++++++ .../workflows/renovate-trigger-on-issue-edit.yml | 12 ++++++++++++ .github/workflows/renovate-trigger-on-pr-edit.yml | 12 ++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 .github/workflows/renovate-trigger-automerges-on-rollup-changes.yml create mode 100644 .github/workflows/renovate-trigger-on-issue-edit.yml create mode 100644 .github/workflows/renovate-trigger-on-pr-edit.yml diff --git a/.github/workflows/renovate-trigger-automerges-on-rollup-changes.yml b/.github/workflows/renovate-trigger-automerges-on-rollup-changes.yml new file mode 100644 index 0000000..d4574de --- /dev/null +++ b/.github/workflows/renovate-trigger-automerges-on-rollup-changes.yml @@ -0,0 +1,14 @@ +name: Renovate - Rebase PRs on renovate/rollup updates + +on: + push: + branches: + - renovate/rollup + +jobs: + call-rollup-based-automerge: + uses: cultureamp/renovate-for-cultureamp/.github/workflows/rollup-based-automerge.yaml@v1 + secrets: + RENOVATE_TRIGGER_APP_PRIVATE_KEY: ${{ secrets.RENOVATE_TRIGGER_APP_PRIVATE_KEY }} + with: + repository: ${{ github.repository }} diff --git a/.github/workflows/renovate-trigger-on-issue-edit.yml b/.github/workflows/renovate-trigger-on-issue-edit.yml new file mode 100644 index 0000000..b2c94e4 --- /dev/null +++ b/.github/workflows/renovate-trigger-on-issue-edit.yml @@ -0,0 +1,12 @@ +name: Renovate - Trigger on issue edits +on: + issues: + types: [edited] + +jobs: + call-issue-edit-triggers-renovate: + uses: cultureamp/renovate-for-cultureamp/.github/workflows/issue-edit-triggers-renovate.yaml@v1 + secrets: + RENOVATE_TRIGGER_APP_PRIVATE_KEY: ${{ secrets.RENOVATE_TRIGGER_APP_PRIVATE_KEY }} + with: + repository: ${{ github.repository }} diff --git a/.github/workflows/renovate-trigger-on-pr-edit.yml b/.github/workflows/renovate-trigger-on-pr-edit.yml new file mode 100644 index 0000000..76f1a72 --- /dev/null +++ b/.github/workflows/renovate-trigger-on-pr-edit.yml @@ -0,0 +1,12 @@ +name: Renovate - Trigger on PR description edits +on: + pull_request_target: + types: [edited] + +jobs: + call-pr-edit-triggers-renovate: + uses: cultureamp/renovate-for-cultureamp/.github/workflows/pr-edit-triggers-renovate.yaml@v1 + secrets: + RENOVATE_TRIGGER_APP_PRIVATE_KEY: ${{ secrets.RENOVATE_TRIGGER_APP_PRIVATE_KEY }} + with: + repository: ${{ github.repository }}