github / github/update-project-action

"Item not found with ID" with IDs in issue assigned event payload

Đang mở
#55 1 bình luận 1 reaction 1 người được giao Được giao cho @Copilot Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
34
Fork
19
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When using the issue `assigned` trigger, neither setting `content_id` to `github.event.issue.node_id` or `github.event.issue.id` works. Both results in a `Item not found with ID` error.

Workflow config:
```yml
name: Update assigned issues in Webrecorder Projects

on:
issues:
types: [assigned]

jobs:
update-project-column:
runs-on: ubuntu-latest
steps:
- name: Update status
id: update_status
uses: github/update-project-action@v2
with:
github_token: ${{ secrets.ACTIONS_TOKEN }}
organization: webrecorder
project_number: 9
content_id: ${{ github.event.issue.node_id }}
field: Status
value: Todo
```

Also tried setting `content_id: ${{ github.event.issue.id }}`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.