Compare commits
2 commits
5c10658aa3
...
488386dba9
Author | SHA1 | Date | |
---|---|---|---|
![]() |
488386dba9 | ||
a86486ddbb |
1 changed files with 7 additions and 15 deletions
|
@ -4,23 +4,15 @@ jobs:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
name: Checkout repository
|
- run: git switch -c flake-bump-inputs
|
||||||
- name: Create new branch from the checked out one
|
- run: |
|
||||||
run: git switch -c flake-bump-inputs
|
|
||||||
- name: Configure git as `Seven of Nix`
|
|
||||||
run: |
|
|
||||||
git config --global user.email "sevenofnine+andrea.ciceri@autistici.org"
|
git config --global user.email "sevenofnine+andrea.ciceri@autistici.org"
|
||||||
git config --global user.name "Seven of Nine"
|
git config --global user.name "Seven of Nine"
|
||||||
- name: Update flake's lockfile and create commit
|
- run: nix flake update --commit-lock-file
|
||||||
run: nix flake update --commit-lock-file
|
- run: git push origin --force flake-bump-inputs
|
||||||
- name: Push commit to the `flake-bump-inputs` remote branch
|
- run: tea logins add --token ${{secrets.SEVENOFNINE_TOKEN}} --url https://git.aciceri.dev
|
||||||
run: git push origin --force flake-bump-inputs
|
- run: tea logins default git.aciceri.dev
|
||||||
- name: Login as `Seven of Nix`
|
- run: |
|
||||||
run: |
|
|
||||||
tea logins add --token ${{secrets.SEVENOFNINE_TOKEN}} --url https://git.aciceri.dev
|
|
||||||
tea logins default git.aciceri.dev
|
|
||||||
- name: Create the pull request
|
|
||||||
run: |
|
|
||||||
tea pulls create \
|
tea pulls create \
|
||||||
--repo "$GITHUB_REPOSITORY" \
|
--repo "$GITHUB_REPOSITORY" \
|
||||||
--title "Update flake's lockfile" \
|
--title "Update flake's lockfile" \
|
||||||
|
|
Reference in a new issue