From cdb4f3412e8722b7b42aedfcd31e8690310e9882 Mon Sep 17 00:00:00 2001 From: Trae Yelovich Date: Tue, 26 Nov 2024 14:42:21 -0500 Subject: [PATCH] ci: add merge-by workflows Signed-off-by: Trae Yelovich --- .github/workflows/merge-by-comments.yml | 15 +++++++++++++++ .github/workflows/merge-by-table.yml | 25 +++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .github/workflows/merge-by-comments.yml create mode 100644 .github/workflows/merge-by-table.yml diff --git a/.github/workflows/merge-by-comments.yml b/.github/workflows/merge-by-comments.yml new file mode 100644 index 000000000..1f76a66c8 --- /dev/null +++ b/.github/workflows/merge-by-comments.yml @@ -0,0 +1,15 @@ +name: Merge-by + +on: + pull_request: + types: [opened, ready_for_review] +jobs: + rfr_add_date: + name: "Post merge-by date as comment" + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: zowe-actions/shared-actions/merge-by@main + with: + operation: "bump-dates" \ No newline at end of file diff --git a/.github/workflows/merge-by-table.yml b/.github/workflows/merge-by-table.yml new file mode 100644 index 000000000..8129c44b3 --- /dev/null +++ b/.github/workflows/merge-by-table.yml @@ -0,0 +1,25 @@ +name: Merge-by + +on: + pull_request: + types: [opened, ready_for_review, converted_to_draft] + pull_request_review: + types: [submitted] + push: + branches: + - main + - next + workflow_dispatch: + schedule: + - cron: "0 11 * * *" +jobs: + rfr_add_date: + name: "Build table and notify users" + runs-on: ubuntu-latest + permissions: + discussions: write + pull-requests: write + steps: + - uses: zowe-actions/shared-actions/merge-by@main + with: + operation: "build-table" \ No newline at end of file