forked from DroidKaigi/conference-app-2024
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request DroidKaigi#501 from DroidKaigi/feature/fix_assign_…
…ios_reviewers_workflow
- Loading branch information
Showing
3 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
.github/workflows/save-pr-number-for-ios-assign-reviewers.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: save-pr-number-for-ios-assign-reviewers | ||
|
||
on: | ||
pull_request: | ||
types: [opened, ready_for_review, labeled] | ||
|
||
jobs: | ||
save_pr_number: | ||
runs-on: ubuntu-latest | ||
if: contains(github.event.pull_request.labels.*.name, 'type:iOS 🍎') && github.event.pull_request.draft == false | ||
|
||
steps: | ||
- name: Save PR number | ||
run: | | ||
echo ${{ github.event.pull_request.number }} > pr_number.txt | ||
- name: Upload PR number | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: pr_number | ||
path: pr_number.txt |