Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Update project.yml

Update project.yml #6

Workflow file for this run

name: Project
on:
issues:
types:
- opened
pull_request:
types:
- opened
jobs:
add-issue:
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/tiki/projects/1
github-token: ${{ secrets.GH_PROJECT_PAT }}
add-pr:
if: ${{ github.event_name == 'pull_request' && github.event.action == 'opened' }}
name: Add pull request to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/tiki/projects/1
github-token: ${{ secrets.GH_PROJECT_PAT }}
- uses: austenstone/project-update@main
with:
project-number: 1
organization: tiki
github-token: ${{ secrets.GH_PROJECT_PAT }}
item-id: ${{ github.event.number }}
field-names: Sprint
field-values: "[0]"