Skip to content

Commit

Permalink
fix: correct job permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Gotfrid committed Nov 17, 2024
1 parent e0d0df5 commit a91266a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/update_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ on:
- cron: "0 * * * *"

env:
GITHUB_PAT: ${{secrets.PAT}}
DATA_URL: ${{secrets.DATA_URL}}

permissions:
contents: write

jobs:
main:
name: Main
runs-on: ubuntu-latest

permissions:
contents: read
contents: write

steps:
- name: Clone repository
Expand Down

0 comments on commit a91266a

Please sign in to comment.