Skip to content

GitHub action to create a project board.

License

Notifications You must be signed in to change notification settings

matthewferry/create-a-project

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a project action

Usage

This GitHub Action creates a new project in your repository. Here's an example workflow that creates a fresh sprint project every week.

# .github/workflows/create-sprint.yml
on:
  schedule:
    - cron: 0 9 * * 1
name: Create sprint project board
jobs:
  create-project:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: echo "WEEK=$(date '+%B %d, %Y')" >> $GITHUB_ENV
      - uses: matthewferry/create-a-project@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          name: "Sprint: ${{ env.WEEK }}"
          description: Weekly sprint planning project
          columns: |
            📨 To do
            🧑‍💻 In progress
            ✅ Done
            🚢 Shipped