Compare commits
3 Commits
main
...
0332eed068
| Author | SHA1 | Date | |
|---|---|---|---|
| 0332eed068 | |||
| eb0a258d96 | |||
|
48e307180f
|
@@ -15,9 +15,8 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set git bot info
|
- name: Set git bot info
|
||||||
shell: nu {0}
|
run: >-
|
||||||
run: |
|
git config user.email "noreply@notadev.net" &&
|
||||||
git config user.email "noreply@notadev.net"
|
|
||||||
git config user.name "Update bot"
|
git config user.name "Update bot"
|
||||||
|
|
||||||
- name: Login to Gitea
|
- name: Login to Gitea
|
||||||
@@ -41,18 +40,28 @@ jobs:
|
|||||||
run: nix flake update
|
run: nix flake update
|
||||||
|
|
||||||
- name: Create new commit
|
- name: Create new commit
|
||||||
run: |
|
run: >-
|
||||||
git checkout -b update-lockfile
|
git checkout -b update-lockfile &&
|
||||||
git add flake.lock
|
git add flake.lock &&
|
||||||
git commit -m "Update flake.lock"
|
git commit -m "Update flake.lock" &&
|
||||||
git push origin update-lockfile
|
git push origin update-lockfile
|
||||||
|
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
env:
|
||||||
cd "${{ env.GITHUB_WORKSPACE }}"
|
SERVER_URL: tea.notadev.net
|
||||||
echo "$PWD"
|
SERVER_TOKEN: ${{ secrets.token }}
|
||||||
export XDG_CONFIG_HOME="$PWD"
|
SERVER_USER: ${{ secrets.user }}
|
||||||
|
SERVER_PASSWORD: ${{ secrets.password }}
|
||||||
|
run: >-
|
||||||
|
cd "${{ env.GITHUB_WORKSPACE }}" &&
|
||||||
|
echo "$PWD" &&
|
||||||
|
export GITEA_SERVER_URL="$SERVER_URL" &&
|
||||||
|
export GITEA_SERVER_TOKEN="$SERVER_TOKEN" &&
|
||||||
|
export GITEA_SERVER_USER="$SERVER_USER" &&
|
||||||
|
export GITEA_SERVER_PASSWORD="$SERVER_PASSWORD" &&
|
||||||
|
export XDG_CONFIG_HOME="$PWD" &&
|
||||||
|
export XDG_CONFIG_HOME="$PWD" &&
|
||||||
tea pr create --title "Update flake.lock"
|
tea pr create --title "Update flake.lock"
|
||||||
|
|
||||||
- name: Merge PR
|
- name: Merge PR
|
||||||
@@ -69,10 +78,9 @@ jobs:
|
|||||||
tea pr merge $index --style merge
|
tea pr merge $index --style merge
|
||||||
|
|
||||||
- name: Delete branch
|
- name: Delete branch
|
||||||
shell: nu {0}
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd "${{ env.GITHUB_WORKSPACE }}"
|
cd "${{ env.GITHUB_WORKSPACE }}"
|
||||||
echo $env.PWD
|
echo $env.PWD
|
||||||
git checkout main
|
git branch -d update-lockfile
|
||||||
git branch -D update-lockfile
|
|
||||||
git push origin :update-lockfile
|
git push origin :update-lockfile
|
||||||
|
|||||||
12
flake.lock
generated
12
flake.lock
generated
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-master": {
|
"nixpkgs-master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770508249,
|
"lastModified": 1760203367,
|
||||||
"narHash": "sha256-3ahhMTAMoK9KLjmmWAfdC9nVQgGoMACkCsJ99VyAOA8=",
|
"narHash": "sha256-IcSHuvGNqL4mrreanC+4tS5YvyoBaKRpkNXUXlFRw4k=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a5cf8d3e5e416aadc5eea9b019823e9b61673abc",
|
"rev": "9d59f92e03dfc3bf45120e7732827d6a84a90f73",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -36,11 +36,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770197578,
|
"lastModified": 1760038930,
|
||||||
"narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=",
|
"narHash": "sha256-Oncbh0UmHjSlxO7ErQDM3KM0A5/Znfofj2BSzlHLeVw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2",
|
"rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
Reference in New Issue
Block a user