This commit is contained in:
Nikita Bykov 2020-08-25 14:39:27 +03:00
parent fdef7843ee
commit 5a7abdc250
9 changed files with 15 additions and 181 deletions

View file

@ -1,8 +1,11 @@
name: Create Pull Request
on:
repository_dispatch:
types: [create-pr]
workflow_dispatch:
defaults:
run:
shell: pwsh
jobs:
create_pr:
name: Create Pull Request
@ -13,14 +16,12 @@ jobs:
submodules: true
- name: Create versions-manifest.json
shell: pwsh
run: |
./helpers/packages-generation/manifest-generator.ps1 -RepositoryFullName "$env:GITHUB_REPOSITORY" `
-GitHubAccessToken "${{secrets.GITHUB_TOKEN}}" `
-OutputFile "./versions-manifest.json" `
-ConfigurationFile "./config/go-manifest-config.json"
- name: Create GitHub PR
shell: pwsh
run: |
$formattedDate = Get-Date -Format "MM/dd/yyyy"
./helpers/github/create-pull-request.ps1 `