[CI] Temporarily disable update-flake-lock
job
This commit is contained in:
parent
a16c6bd6cc
commit
3c9a69063f
2 changed files with 45 additions and 45 deletions
|
@ -1,11 +1,11 @@
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches: ["*"]
|
# branches: ["*"]
|
||||||
jobs:
|
# jobs:
|
||||||
test:
|
# test:
|
||||||
runs-on: nix
|
# runs-on: nix
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
name: Checkout repository
|
# name: Checkout repository
|
||||||
- name: Build with nix
|
# - name: Build with nix
|
||||||
run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux"
|
# run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux"
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
name: update-flake-lock
|
# name: update-flake-lock
|
||||||
on:
|
# on:
|
||||||
schedule:
|
# schedule:
|
||||||
- cron: '0 15 * * *' # daily at 15:00
|
# - cron: '0 15 * * *' # daily at 15:00
|
||||||
|
|
||||||
jobs:
|
# jobs:
|
||||||
lockfile:
|
# lockfile:
|
||||||
runs-on: nix
|
# runs-on: nix
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
name: Checkout repository
|
# name: Checkout repository
|
||||||
with:
|
# with:
|
||||||
token: ${{secrets.SEVENOFNINE_TOKEN}}
|
# token: ${{secrets.SEVENOFNINE_TOKEN}}
|
||||||
- name: Create new branch from the checked out one
|
# - name: Create new branch from the checked out one
|
||||||
run: git switch -c update-flake-lock
|
# run: git switch -c update-flake-lock
|
||||||
- name: Configure git as `Seven of Nix`
|
# - name: Configure git as `Seven of Nix`
|
||||||
run: |
|
# run: |
|
||||||
git config --global user.email "sevenofnine@stronzi.org"
|
# git config --global user.email "sevenofnine@stronzi.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
|
# - name: Update flake's lockfile and create commit
|
||||||
run: nix flake update --commit-lock-file
|
# run: nix flake update --commit-lock-file
|
||||||
- name: Push commit to the `update-flake-lock` remote branch
|
# - name: Push commit to the `update-flake-lock` remote branch
|
||||||
run: git push origin --force update-flake-lock # sevenOfNix needs write access to the repository
|
# run: git push origin --force update-flake-lock # sevenOfNix needs write access to the repository
|
||||||
- name: Login as `Seven of Nix`
|
# - name: Login as `Seven of Nix`
|
||||||
run: |
|
# run: |
|
||||||
tea logins add --token ${{secrets.SEVENOFNINE_TOKEN}} --url https://git.aciceri.dev
|
# tea logins add --token ${{secrets.SEVENOFNINE_TOKEN}} --url https://git.aciceri.dev
|
||||||
tea logins default git.aciceri.dev
|
# tea logins default git.aciceri.dev
|
||||||
- name: Create the pull request
|
# - name: Create the pull request
|
||||||
run: |
|
# run: |
|
||||||
tea pulls create \
|
# tea pulls create \
|
||||||
--repo "$GITHUB_REPOSITORY" \
|
# --repo "$GITHUB_REPOSITORY" \
|
||||||
--title "Update flake's lockfile" \
|
# --title "Update flake's lockfile" \
|
||||||
--description "Check the commit description for inputs deltas" \
|
# --description "Check the commit description for inputs deltas" \
|
||||||
--assignees aciceri \
|
# --assignees aciceri \
|
||||||
|| echo "PR already existing"
|
# || echo "PR already existing"
|
||||||
|
|
Loading…
Add table
Reference in a new issue