diff --git a/add-item/README.md b/add-item/README.md index e7f6483..4dc2cc8 100644 --- a/add-item/README.md +++ b/add-item/README.md @@ -11,7 +11,7 @@ Add an issue or pull request to a GitHub project | `token` | A GitHub access token - either a classic PAT or a GitHub app installation token. | Yes | | | `owner` | The owner of the project - either an organization or a user. If not provided, it defaults to the repository owner. | No | `${{ github.repository_owner }}` | | `project-number` | The project number from the project's URL. | Yes | | -| `content-url` | The URL for the issue or pull request to add to the project. If not provided, it defaults to the URL of the triggering issue or pull request. | No | `${{ github.event.pull_request.url \|\| github.event.issue.url }}` | +| `content-url` | The URL for the issue or pull request to add to the project. If not provided, it defaults to the URL of the triggering issue or pull request. | No | `${{ github.event.pull_request.html_url \|\| github.event.issue.html_url }}` | | `field` | Project field to set after adding the item. | No | | | `field-value` | Value to set the project field to. | No | | diff --git a/add-item/action.yml b/add-item/action.yml index 4871091..7083fba 100644 --- a/add-item/action.yml +++ b/add-item/action.yml @@ -16,7 +16,7 @@ inputs: content-url: description: The URL for the issue or pull request to add to the project required: false - default: ${{ github.event.pull_request.url || github.event.issue.url }} + default: ${{ github.event.pull_request.html_url || github.event.issue.html_url }} field: description: Project field to set after adding item required: false diff --git a/archive-item/README.md b/archive-item/README.md index 192c73b..a796f89 100644 --- a/archive-item/README.md +++ b/archive-item/README.md @@ -15,7 +15,7 @@ Can not unarchive items due to a bug in the GitHub GraphQL API, see