To support creating authoring commits and pull-requests from GitHub workflow like bump-idc-index-data-version.yml discussed in #5, consider the following:
-
Go to https://github.com/organizations/ImagingDataCommons/settings/apps
-
Click New GitHub App
-
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)
To support creating authoring commits and pull-requests from GitHub workflow like
bump-idc-index-data-version.ymldiscussed in #5, consider the following:Go to https://github.com/organizations/ImagingDataCommons/settings/apps
Click
New GitHub AppEnter the following details:
This will allow to leverage the
actions/create-github-app-token1 along withpeter-evans/create-pull-request. For a similar example, see the workflow2 we created inNA-MIC/ProjectWeek(it usingtibdex/github-app-tokennow superseded byactions/create-github-app-tokenbut that should be enough to move forward)Footnotes
https://github.com/actions/create-github-app-token ↩
https://github.com/NA-MIC/ProjectWeek/blob/6e5d245d619dd2d4a021973246b9666cd6368291/.github/workflows/project-page-pull-request.yml#L210-L232 ↩