Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
🔄 Created local '.github/workflows/new_prs.yml' from remote '.github/…
Browse files Browse the repository at this point in the history
…workflows/new_prs.yml'
  • Loading branch information
dhruvkb committed Aug 11, 2021
1 parent 932c2a2 commit 6d091c0
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/new_prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: New PR automation

on:
pull_request:
types:
- opened
- converted_to_draft
- ready_for_review

jobs:
add_draft:
name: Add draft PR
if: ${{ github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- name: Add PR to "In progress"
uses: alex-page/[email protected]
with:
project: Openverse
column: In progress
repo-token: ${{ secrets.ACCESS_TOKEN }}

add_ready:
name: Add ready PR
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- name: Add PR to "Needs review"
uses: alex-page/[email protected]
with:
project: Openverse
column: Needs review
repo-token: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit 6d091c0

Please sign in to comment.