From 958e7bb7d7a366c335a15b6ee9b380537f50affa Mon Sep 17 00:00:00 2001 From: Adi Isakovic <35268273+adi-ws@users.noreply.github.com> Date: Tue, 17 Mar 2026 23:16:58 -0400 Subject: [PATCH] Add Quick Change workflow --- .github/workflows/quick_change.yml | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/quick_change.yml diff --git a/.github/workflows/quick_change.yml b/.github/workflows/quick_change.yml new file mode 100644 index 0000000..10718dc --- /dev/null +++ b/.github/workflows/quick_change.yml @@ -0,0 +1,40 @@ +--- +name: Quick Change + +permissions: + id-token: write + contents: write + pull-requests: write + +on: + pull_request: + types: + - opened + - reopened + issue_comment: + types: [created, edited] + pull_request_review_comment: + types: [created, edited] + +jobs: + call-reusable-quick-change: + name: Run + if: | + github.event_name == 'pull_request' || + ( + ( + (github.event_name == 'issue_comment' && github.event.issue.pull_request) || + github.event_name == 'pull_request_review_comment' + ) && + contains(github.event.comment.body, '@ws-quick-change') && + ( + github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'MEMBER' || + github.event.comment.author_association == 'COLLABORATOR' || + github.event.comment.author_association == 'CONTRIBUTOR' + ) + ) + + uses: wealthsimple/quick-change/.github/workflows/quick_change.yml@main + + secrets: inherit