github / github/update-project-action

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

未关闭
#55 1 条评论 1 个 reaction 已指派 1 人 已指派给 @Copilot 在 GitHub 查看
主要语言
TypeScript
星标
34
派生
19
PR 合并指标
30 天内没有已合并 PR

描述

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 }}`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。