fixup workflow permissions

This commit is contained in:
Jörg Thalheim 2024-04-19 09:16:16 +02:00
parent c0e38cc694
commit bcf14f983e

View File

@ -3,7 +3,10 @@ on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: '51 2 * * *'
- cron: "51 2 * * *"
permissions:
pull-requests: write
contents: write
jobs:
update-extensions:
runs-on: ubuntu-latest
@ -15,6 +18,8 @@ jobs:
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: ./modules/nixos-wiki/update-extensions.py ./modules/nixos-wiki/extensions.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with: