|
42 | 42 | echo "update_needed=false" >> $GITHUB_OUTPUT |
43 | 43 | fi |
44 | 44 |
|
45 | | - # Instead of updating the file and creating a PR, create a GitHub issue and assign it to Copilot if a new version is available |
46 | | - - name: Create GitHub issue to update CLI version and assign to Copilot |
47 | | - if: steps.compare_versions.outputs.update_needed == 'true' |
48 | | - uses: peter-evans/create-issue-from-file@v5 |
49 | | - with: |
50 | | - title: "Update PowerApps CLI version to ${{ steps.get_latest_version.outputs.latest_version }}" |
51 | | - content-filepath: .github/cli-update-issue-template.md |
52 | | - labels: "automation,dependencies" |
53 | | - assignees: "github-copilot[bot]" |
54 | | - env: |
55 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
56 | | - |
57 | 45 | - name: Generate issue content file |
58 | 46 | if: steps.compare_versions.outputs.update_needed == 'true' |
59 | 47 | run: | |
|
65 | 53 | echo "Please update the CLI version in the repository." >> .github/cli-update-issue-template.md |
66 | 54 | echo "" >> .github/cli-update-issue-template.md |
67 | 55 | echo "For implementation reference, see PR #1236." >> .github/cli-update-issue-template.md |
| 56 | +
|
| 57 | + - name: Create GitHub issue to update CLI version and assign to Copilot |
| 58 | + if: steps.compare_versions.outputs.update_needed == 'true' |
| 59 | + uses: peter-evans/create-issue-from-file@v5 |
| 60 | + with: |
| 61 | + title: "Update PowerApps CLI version to ${{ steps.get_latest_version.outputs.latest_version }}" |
| 62 | + content-filepath: .github/cli-update-issue-template.md |
| 63 | + labels: "automation,dependencies" |
| 64 | + assignees: "github-copilot[bot]" |
| 65 | + env: |
| 66 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments