🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)

🔧 Programmierung 🕛 kürzlich 3 Min Lesezeit
0

Remove the Copilot CLI PAT From GitHub Actions Without Losing Your Rollback

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

GitHub announced on July 2, 2026 that Copilot CLI no longer needs a personal access token when it runs in GitHub Actions.



Primary source: GitHub Changelog, July 2, 2026.



Deleting a secret is easy. Proving the workflow still works—and recovering without hurriedly pasting credentials back into YAML—is the useful part. This is an unexecuted migration template, not a report from a production repository.






Make one reversible change



First find every place the old secret enters the job, including reusable workflows:




CODE
git grep -nE 'COPILOT_PAT|COPILOT_GITHUB_TOKEN|GH_TOKEN|github_pat'






Record the workflow, job, pinned CLI version, permissions block, and previous known-good commit. Never print environment variables while debugging.



Then remove only the PAT injection. Do not upgrade the runner and CLI in the same patch.




CODE
 jobs:
copilot-check:
permissions:
contents: read
- env:
- COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_PAT }}
steps:
- uses: actions/checkout@<PINNED_COMMIT>
- run: ./scripts/setup-copilot-cli.sh
- run: ./scripts/run-bounded-check.sh






The scripts are placeholders for repository-owned commands. “No PAT required” does not mean “no identity or permissions exist”; follow the current setup documentation and keep permissions explicit.






Add a canary with two proofs



The canary should show that the legacy token is absent and that the existing bounded task still satisfies its output contract.




CODE
name: copilot-cli-auth-canary
on: workflow_dispatch
permissions:
contents: read
jobs:
canary:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@<PINNED_COMMIT>
- name: Verify legacy PAT is absent
run: |
test -z "${COPILOT_PAT:-}"
test -z "${COPILOT_GITHUB_TOKEN:-}"
- run: ./scripts/setup-copilot-cli.sh
- run: copilot --version
- run: ./scripts/run-bounded-check.sh






Use a read-only, cheap task. “Fix whatever you find” is not a canary; it is a small deployment wearing a fake mustache.



Define pass criteria before clicking Run: absent legacy variables, expected CLI version, successful bounded command, valid output, and no authorization warning. Classify failures as install, authentication, permission, output, timeout, or service failure.






Keep the exit ramp






CODE
- Change commit: `<sha>`
- Previous workflow commit: `<sha>`
- CLI version: `<version>`
- Legacy PAT injected: `no`
- Canary run: `<url>`
- Result: `pass | fail`
- Rollback owner: `<role>`
- Secret deletion due: `<UTC timestamp>`






If the canary fails, revert the one migration commit and rerun the known-good workflow. Do not widen permissions during rollback. If it passes, rerun from the protected default branch, observe scheduled uses for an agreed window, then delete the obsolete secret at every scope.



One removed credential, two explicit proofs, and one boring rollback path. Boring is excellent when authentication breaks at 2 a.m.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
GPT-6 Astra Release Today? OpenAI’s Next Major AI Model Is Almost Here
1 Quelle
Apple accuses OpenAI of destroying evidence as trade-secrets fight intensifies
1 Quelle
Major AI platforms go down in unprecedented simultaneous outage
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Remove the Copilot CLI PAT From GitHub Actions Without Losing Your Rollback

Thematisch verwandte Begriffe: Remove, Copilot, From, GitHub · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...