Skip to content

"undefined method `read' for nil:NilClass" for Rack Request body #1013

"undefined method `read' for nil:NilClass" for Rack Request body

"undefined method `read' for nil:NilClass" for Rack Request body #1013

Workflow file for this run

name: Auto Assign to Project(s)
on:
issues:
types: [opened, edited, milestoned]
pull_request_target:
types: [opened, edited, milestoned]
env:
MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}
permissions:
contents: read
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign milestoned to Project
steps:
- name: Assign issues with milestones to project
uses: elastic/[email protected]
if: github.event.issue && github.event.issue.milestone
with:
project: 'https://github.com/orgs/elastic/projects/454'
project_id: '5882982'
column_name: 'Planned'
- name: Assign new pull requests to project
uses: elastic/[email protected]
if: github.event.action == 'opened' && github.event.pull_request
with:
project: 'https://github.com/orgs/elastic/projects/454'
project_id: '5882982'
column_name: 'In Progress'