Skip to content

Decision post for checking metadata/properties #40

Decision post for checking metadata/properties

Decision post for checking metadata/properties #40

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 }}