diff --git a/.github/workflows/generate-templates.yml b/.github/workflows/generate-templates.yml index 878a90f3b..cc79a04e9 100644 --- a/.github/workflows/generate-templates.yml +++ b/.github/workflows/generate-templates.yml @@ -71,17 +71,18 @@ jobs: --jq 'length') if ((prs > 0)); then - echo "skippr=true" >> "$GITHUB_OUTPUT" + echo "skippr=true" >> "$GITHUB_OUTPUT" fi else - echo "skippr=true" >> "$GITHUB_OUTPUT" + echo "skippr=true" >> "$GITHUB_OUTPUT" fi - - name: Create pull request - if: '!steps.generate.outputs.skippr' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - # Create a pull request - echo "Creating a pull request..." - gh pr --repo ${{ github.repository }} create --title "[GitHub Action - Generate Templates] Generate templates for alerts" --body "This PR was automatically generated by the workflow." --base main --head github-action-generate-templates + # Diasble PR creation for now since it is not supported in the Azure repo + # - name: Create pull request + # if: '!steps.generate.outputs.skippr' + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # run: | + # # Create a pull request + # echo "Creating a pull request..." + # gh pr --repo ${{ github.repository }} create --title "[GitHub Action - Generate Templates] Generate templates for alerts" --body "This PR was automatically generated by the workflow." --base main --head github-action-generate-templates