Remove conditional Azure login steps and simplify to single Federated Credentials auth #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto-approve Copilot PRs | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
auto-approve: | |
runs-on: ubuntu-latest | |
if: github.actor == 'copilot-swe-agent' | |
steps: | |
- name: Auto-approve PR from Copilot agent | |
uses: hmarr/auto-approve-action@v3 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |