Skip to content

Commit

Permalink
ci: use shared action for merge-by updates (#3341)
Browse files Browse the repository at this point in the history
* ci: use shared action for merge-by updates

Signed-off-by: Trae Yelovich <[email protected]>

* fix(ci): change branch for shared action

Signed-off-by: Trae Yelovich <[email protected]>

---------

Signed-off-by: Trae Yelovich <[email protected]>
Co-authored-by: Billie Simmons <[email protected]>
  • Loading branch information
traeok and JillieBeanSim authored Dec 6, 2024
1 parent dda72a0 commit f510715
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 289 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/merge-by-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: actions/github-script@v7
- uses: zowe-actions/shared-actions/merge-by@main
with:
script: |
const script = require("./.github/workflows/merge-by/post-date.js");
await script({ github, context });
operation: "bump-dates"
22 changes: 3 additions & 19 deletions .github/workflows/merge-by-table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Merge-by

on:
pull_request:
types: [opened, ready_for_review]
types: [opened, ready_for_review, converted_to_draft]
pull_request_review:
types: [submitted]
push:
Expand All @@ -20,22 +20,6 @@ jobs:
discussions: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
- uses: zowe-actions/shared-actions/merge-by@main
with:
version: 8
run_install: false

- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- uses: actions/github-script@v7
with:
script: |
const script = require("./.github/workflows/merge-by/build-table-and-notify.js");
await script({ github, context });
operation: "build-table"
217 changes: 0 additions & 217 deletions .github/workflows/merge-by/build-table-and-notify.js

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/merge-by/post-date.js

This file was deleted.

0 comments on commit f510715

Please sign in to comment.