CI: use PATs in update workflows

This commit is contained in:
raf 2023-11-05 20:54:57 +03:00
parent 960f96eda5
commit 16b793a17f
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
2 changed files with 9 additions and 2 deletions

View file

@ -14,6 +14,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: "${{ secrets.GH_TOKEN}}"
- uses: DeterminateSystems/nix-installer-action@main
@ -26,7 +28,9 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update flake"
commit_message: "[CI]: update flake inputs"
push_options: "--force"
commit_user_name: GitHub Actions
build:
needs: update

View file

@ -16,6 +16,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: "${{ secrets.GH_TOKEN}}"
- uses: DeterminateSystems/nix-installer-action@main
@ -29,8 +31,9 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update packages"
commit_message: "[CI]: update npins"
push_options: "--force"
commit_user_name: GitHub Actions
build:
needs: update