2020-08-28 11:14:38 +00:00
|
|
|
name: Create Pull Request
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: pwsh
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
create_pr:
|
|
|
|
name: Create Pull Request
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-10-31 14:12:41 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-08-28 11:14:38 +00:00
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
|
|
|
|
- name: Create versions-manifest.json
|
|
|
|
run: |
|
|
|
|
./helpers/packages-generation/manifest-generator.ps1 -RepositoryFullName "$env:GITHUB_REPOSITORY" `
|
|
|
|
-GitHubAccessToken "${{secrets.GITHUB_TOKEN}}" `
|
|
|
|
-OutputFile "./versions-manifest.json" `
|
|
|
|
-ConfigurationFile "./config/python-manifest-config.json"
|
|
|
|
- name: Create GitHub PR
|
|
|
|
run: |
|
|
|
|
$formattedDate = Get-Date -Format "MM/dd/yyyy"
|
|
|
|
./helpers/github/create-pull-request.ps1 `
|
|
|
|
-RepositoryFullName "$env:GITHUB_REPOSITORY" `
|
|
|
|
-AccessToken "${{secrets.GITHUB_TOKEN}}" `
|
|
|
|
-BranchName "update-versions-manifest-file" `
|
|
|
|
-CommitMessage "Update versions-manifest" `
|
|
|
|
-PullRequestTitle "[versions-manifest] Update for release from ${formattedDate}" `
|
2021-12-23 14:34:17 +00:00
|
|
|
-PullRequestBody "Update versions-manifest.json for release from ${formattedDate}"
|