Skip to content

chore(sync): 🔨 synced file(s) with seedcase-project/.github #1

chore(sync): 🔨 synced file(s) with seedcase-project/.github

chore(sync): 🔨 synced file(s) with seedcase-project/.github #1

Workflow file for this run

name: Add to project board
on:
issues:
types:
- opened
- reopened
- transferred
pull_request:
types:
- reopened
- opened
permissions:
pull-requests: write
jobs:
add-to-project:
name: Add to project
runs-on: ubuntu-latest
steps:
- name: Add issue or PR to project board
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/seedcase-project/projects/18
github-token: ${{ secrets.ADD_TO_BOARD }}
- name: Assign PR to creator
if: ${{ github.event_name == 'pull_request' }}
run: |
gh pr edit $PR --add-assignee $AUTHOR
env:
AUTHOR: ${{ github.event.pull_request.user.login }}
PR: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}