Skip to content

Commit

Permalink
Set write permission for GH token
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix authored Nov 12, 2024
1 parent 96bb193 commit 4d935b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/update-feeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
jobs:
scrape:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
if: github.repository_owner == 'qgis' || github.repository_owner == 'Xpirix'
steps:
- name: '🛒 Checkout QGIS Planet Website'
Expand Down Expand Up @@ -42,5 +46,4 @@ jobs:
with:
commit_message: 'Posts scraped and committed via a GitHub Action.'
repository: ./qgis-planet-website
token: ${{ secrets.GITHUB_TOKEN }}
# push_options: --force

0 comments on commit 4d935b1

Please sign in to comment.