mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2024-11-30 00:46:44 +00:00
CI: use PATs in update workflows
This commit is contained in:
parent
960f96eda5
commit
16b793a17f
2 changed files with 9 additions and 2 deletions
6
.github/workflows/update-flake.yml
vendored
6
.github/workflows/update-flake.yml
vendored
|
@ -14,6 +14,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: "${{ secrets.GH_TOKEN}}"
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
||||||
|
@ -26,7 +28,9 @@ jobs:
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: "Update flake"
|
commit_message: "[CI]: update flake inputs"
|
||||||
|
push_options: "--force"
|
||||||
|
commit_user_name: GitHub Actions
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: update
|
needs: update
|
||||||
|
|
5
.github/workflows/update-pkgs.yml
vendored
5
.github/workflows/update-pkgs.yml
vendored
|
@ -16,6 +16,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: "${{ secrets.GH_TOKEN}}"
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
||||||
|
@ -29,8 +31,9 @@ jobs:
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: "Update packages"
|
commit_message: "[CI]: update npins"
|
||||||
push_options: "--force"
|
push_options: "--force"
|
||||||
|
commit_user_name: GitHub Actions
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: update
|
needs: update
|
||||||
|
|
Loading…
Reference in a new issue