Skip to content

Commit

Permalink
Add RE codeowners PR workflow (#156)
Browse files Browse the repository at this point in the history
* Add RE codeowners PR workflow

This PR adds a new organization workflow using the SalesforceFoundation/github-script action that will add comments to PRs on the following events:

1. A review request (pull_request.review_requested) from a given CODEOWNERS github team (release-engineering-reviewers).
2. A user adds the "ready for RE review" label (pull_request.review_requested) to a pull request.

* Switch to shared workflow

This commit switches the existing RelEng workflow to use the new GitHub
Actions feature to source a workflow [1] stored in another repository
(see also: [2]).

[1]: https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
[2]: https://github.com/SalesforceFoundation/.github/blob/main/docs/workflows.md
  • Loading branch information
jstvz authored Oct 13, 2021
1 parent 842fc3d commit 7f09566
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/codeowners.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Call SFDO Codeowners Review Workflows

on:
pull_request:
types:
- labeled
- review_requested

jobs:
shared-codeowners:
uses: SalesforceFoundation/.github/.github/workflows/codeowners.yml@main

0 comments on commit 7f09566

Please sign in to comment.