Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add an optional input repository_ids #107

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

suzuki-shunsuke
Copy link

@suzuki-shunsuke suzuki-shunsuke commented Nov 26, 2023

Close #106

Test

I tested this pull request with the fork version.

It works well.

Test 1. Use repository_ids

https://github.com/suzuki-shunsuke/test-github-action/actions/runs/6993168247/job/19025551390?pr=184

Run suzuki-shunsuke/[email protected]
  with:
    app_id: ***
    private_key: ***
    permissions: {"pull_requests": "write", "issues": "write", "contents": "write"}
    repository_ids: [221882701]
    github_api_url: https://api.github.com
    installation_retrieval_mode: repository
    installation_retrieval_payload: suzuki-shunsuke/test-github-action
    revoke: true
Token created successfully

Test 2. Don't use repository_ids

https://github.com/suzuki-shunsuke/test-github-action/actions/runs/6993181859/job/19025581353

Run suzuki-shunsuke/[email protected]
  with:
    app_id: ***
    private_key: ***
    permissions: {"pull_requests": "write", "issues": "write", "contents": "write"}
    github_api_url: https://api.github.com
    installation_retrieval_mode: repository
    installation_retrieval_payload: suzuki-shunsuke/test-github-action
    revoke: true
Token created successfully

suzuki-shunsuke added a commit to suzuki-shunsuke/test-github-action that referenced this pull request Nov 26, 2023
@suzuki-shunsuke suzuki-shunsuke marked this pull request as ready for review November 26, 2023 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an optional input repository_ids
1 participant