Spaces:
Running
Running
copilot-swe-agent[bot] SushantGautam commited on
Harden GI-2026 HF sync workflow permissions and auth URL
Browse filesAgent-Logs-Url: https://github.com/SushantGautam/MedVQA/sessions/c6c48a23-7ac1-454e-9621-61ada50e1d8c
Co-authored-by: SushantGautam <16721983+SushantGautam@users.noreply.github.com>
.github/workflows/gradio-app-HuggingFaceSpace-SimulaMet-MedVQA-GI-2026.yml
CHANGED
|
@@ -8,6 +8,8 @@ on:
|
|
| 8 |
jobs:
|
| 9 |
sync-to-hub:
|
| 10 |
runs-on: ubuntu-latest
|
|
|
|
|
|
|
| 11 |
steps:
|
| 12 |
- uses: actions/checkout@v3
|
| 13 |
with:
|
|
@@ -16,4 +18,4 @@ jobs:
|
|
| 16 |
- name: Push to hub
|
| 17 |
env:
|
| 18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 19 |
-
run: git push https://
|
|
|
|
| 8 |
jobs:
|
| 9 |
sync-to-hub:
|
| 10 |
runs-on: ubuntu-latest
|
| 11 |
+
permissions:
|
| 12 |
+
contents: read
|
| 13 |
steps:
|
| 14 |
- uses: actions/checkout@v3
|
| 15 |
with:
|
|
|
|
| 18 |
- name: Push to hub
|
| 19 |
env:
|
| 20 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 21 |
+
run: git push https://oauth2:$HF_TOKEN@huggingface.co/spaces/SimulaMet/MedVQA-GI-2026 main
|