"undefined method `read' for nil:NilClass" for Rack Request body #1013
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |