Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

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/github-app-token@v2.2.0
  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/github-app-token@v2.2.0
  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 szksh-lab-2/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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an optional input repository_ids
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy