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

🔄 Synced file(s) with WordPress/openverse #114

Merged
merged 2 commits into from
Aug 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/new_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: New issue automation

on:
issues:
types:
- opened

jobs:
add_issue:
name: Add new issue
runs-on: ubuntu-latest
steps:
- name: Add issue to "Backlog"
uses: alex-page/github-project-automation-plus@v0.8.1
with:
project: Openverse
column: Backlog
repo-token: ${{ secrets.ACCESS_TOKEN }}
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/github-project-automation-plus@v0.8.1
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/github-project-automation-plus@v0.8.1
with:
project: Openverse
column: Needs review
repo-token: ${{ secrets.ACCESS_TOKEN }}