mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-22 08:14:06 +01:00
fixup workflow permissions
This commit is contained in:
parent
c0e38cc694
commit
bcf14f983e
7
.github/workflows/update-extensions.yml
vendored
7
.github/workflows/update-extensions.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user