diff --git a/.github/workflows/add-to-project-caller.yml b/.github/workflows/add-to-project-caller.yml new file mode 100644 index 0000000..c206e13 --- /dev/null +++ b/.github/workflows/add-to-project-caller.yml @@ -0,0 +1,25 @@ +'name': 'Add to Project' + +'on': + 'issues': + 'types': + - 'opened' + - 'reopened' + - 'transferred' + 'pull_request_target': + 'types': + - 'opened' + - 'reopened' + - 'ready_for_review' + +'permissions': + 'contents': 'read' + +'jobs': + 'add-to-project': + 'uses': 'JorisJonkers-dev/github-workflows/.github/workflows/add-to-project.yml@main' + 'with': + 'project-url': 'https://github.com/orgs/JorisJonkers-dev/projects/2' + 'secrets': + 'PROJECT_AUTOMATION_APP_ID': '${{ secrets.RELEASE_APP_ID }}' + 'PROJECT_AUTOMATION_APP_PRIVATE_KEY': '${{ secrets.RELEASE_APP_PRIVATE_KEY }}'