File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ permissions:
1111 issues : write
1212 pull-requests : write
1313
14+ env :
15+ # Used for `gh` CLI operations to create/close/comment issues. Must be a PAT with repo permissions because the default
16+ GH_AW_AGENT_TOKEN : ${{ secrets.GH_AW_AGENT_TOKEN }}
17+ GH_TOKEN : ${{ secrets.GH_AW_AGENT_TOKEN }}
18+
1419jobs :
1520
1621 check-and-sync :
5560
5661 - name : Close previous upstream-sync issues
5762 if : steps.check.outputs.has_changes == 'true'
58- env :
59- GH_TOKEN : ${{ secrets.COPILOT_ISSUE_PR_AGENTIC_WORKFLOW }}
6063 run : |
6164 # Find all open issues with the upstream-sync label
6265 OPEN_ISSUES=$(gh issue list \
7881
7982 - name : Close stale upstream-sync issues (no changes)
8083 if : steps.check.outputs.has_changes == 'false'
81- env :
82- GH_TOKEN : ${{ secrets.COPILOT_ISSUE_PR_AGENTIC_WORKFLOW }}
8384 run : |
8485 OPEN_ISSUES=$(gh issue list \
8586 --repo "${{ github.repository }}" \
@@ -101,8 +102,6 @@ jobs:
101102 - name : Create issue and assign to Copilot
102103 id : create-issue
103104 if : steps.check.outputs.has_changes == 'true'
104- env :
105- GH_TOKEN : ${{ secrets.COPILOT_ISSUE_PR_AGENTIC_WORKFLOW }}
106105 run : |
107106 COMMIT_COUNT="${{ steps.check.outputs.commit_count }}"
108107 LAST_MERGE="${{ steps.check.outputs.last_merge }}"
You can’t perform that action at this time.
0 commit comments