Skip to content

Create GitHub App called "ImagingDataCommons App" #6

@jcfr

Description

@jcfr

To support creating authoring commits and pull-requests from GitHub workflow like bump-idc-index-data-version.yml discussed in #5, consider the following:

  1. Go to https://github.com/organizations/ImagingDataCommons/settings/apps

  2. Click New GitHub App

  3. Enter the following details:

    GitHub App Name ImagingDataCommons App
    Description This ImagingDataCommons GitHub App supports the automation of commits and pull requests creation in GitHub workflow.
    Homepage URL https://portal.imaging.datacommons.cancer.gov/
    Webhook Disable
    Where can this GitHub App be installed? Only on this account (default)
    Repository permmissions Contents set to "Read And Write", Metadata set to "Read-only", Pull requests set to "Read And Write"
    Organization permissions Members set to "Read only"
    Account permissions None

This will allow to leverage the actions/create-github-app-token1 along with peter-evans/create-pull-request. For a similar example, see the workflow2 we created in NA-MIC/ProjectWeek (it using tibdex/github-app-token now superseded by actions/create-github-app-token but that should be enough to move forward)

Footnotes

  1. https://github.com/actions/create-github-app-token

  2. https://github.com/NA-MIC/ProjectWeek/blob/6e5d245d619dd2d4a021973246b9666cd6368291/.github/workflows/project-page-pull-request.yml#L210-L232

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions