Skip to content

Commit

Permalink
add permissions to GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultmol authored Mar 4, 2024
1 parent 4a6be55 commit 574c2d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/scheduled_taginfo_pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- cron: '0 3 * * 1,4' # At 03:00 AM every Monday and Thursday
workflow_dispatch:

permissions:
contents: write

jobs:
download_and_commit:
runs-on: ubuntu-latest
Expand All @@ -26,8 +29,6 @@ jobs:
- name: Run Script and Process Data
run: |
python imgur_taginfo_to_url_list.py
# Add here the Python code to merge and deduplicate with recent.txt
# Ensure this code outputs the final file as specified in your requirements
- name: Commit and Push if there are changes
run: |
Expand Down

0 comments on commit 574c2d8

Please sign in to comment.