Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update update-icons.yaml: Don't run for forks #3139

Merged
merged 1 commit into from
Dec 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/update-icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:

jobs:
load-icons:
if: github.repository == 'marticliment/UniGetUI'
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Download icons json file
run: |
python -m pip install xlrd==1.2.0
Expand All @@ -18,6 +22,7 @@ jobs:
python scripts/generate_json_from_excel.py
git commit WebBasedData/screenshot-database.json -m "Update icons and screenshots"
exit 0

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
Expand Down