Update create-issue.yml
This commit is contained in:
Родитель
f8154cace9
Коммит
cb1dcb82d1
|
@ -13,8 +13,8 @@ jobs:
|
|||
brew install gh
|
||||
- name: GH CLI
|
||||
run: |
|
||||
echo "POST_COMMIT_MESSAGE=$(git log --no-merges -1 --pretty=%B)" >> $GITHUB_ENV
|
||||
gh issue create --title "Update Made in Public Repo" --body "test" -R microsoft/azuretipsandtricks-private
|
||||
echo "::set-env name=POST_COMMIT_MESSAGE::$(git log --no-merges -1 --pretty=%B)"
|
||||
gh issue create --title "Update Made in Public Repo" --body "${{ env.POST_COMMIT_MESSAGE }}" -R microsoft/azuretipsandtricks-private
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_PAT }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче