Skip to content

GitHub Action which adds pull requests to the Community Contributions project

License

Notifications You must be signed in to change notification settings

silverstripe/gha-add-pr-to-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions - Add PR to project

Add community-created pull requests to the Community Contributions project when they're opened.

Usage

.github/workflows/add-pr-to-project.yml

name: Add new PRs to github project

on:
  pull_request:
    types:
      - opened
      - ready_for_review

permissions: {}

jobs:
  addprtoproject:
    name: Add PR to GitHub Project
    # Only run on the silverstripe account
    if: github.repository_owner == 'silverstripe'
    runs-on: ubuntu-latest
    steps:
      - name: Add PR to github project
        uses: silverstripe/add-pr-to-project@v1
        with:
          app_id: ${{ vars.MY_APP_ID }}
          private_key: ${{ secrets.MY_PRIVATE_KEY }}

This action has no inputs.

About

GitHub Action which adds pull requests to the Community Contributions project

Resources

License

Stars

Watchers

Forks

Packages

No packages published