parent
b91c23e78d
commit
b3fed3ac87
1 changed files with 17 additions and 7 deletions
|
|
@ -9,11 +9,21 @@ jobs:
|
||||||
runs-on: nixos-latest
|
runs-on: nixos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- id: update
|
- run: nix flake update --commit-lock-file
|
||||||
uses: https://github.com/DeterminateSystems/update-flake-lock@main
|
|
||||||
|
|
||||||
# - name: Merge
|
- name: Create Pull Request
|
||||||
# run: gh pr merge --auto "${{ steps.update.outputs.pull-request-number }}" --rebase
|
uses: https://github.com/maxking/forgejo-create-pr@main
|
||||||
# env:
|
with:
|
||||||
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
# required
|
||||||
# if: ${{ steps.update.outputs.pull-request-number != '' }}s
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
|
# optional
|
||||||
|
base: 'main'
|
||||||
|
add-paths: '.'
|
||||||
|
commit-message: 'feat: automated changes'
|
||||||
|
pr-title: 'feat: new automated changes'
|
||||||
|
pr-body: 'This PR contains automated changes'
|
||||||
|
pr-condition-cmd: 'git status --porcelain'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#https://forrestjacobs.com/keeping-nixos-systems-up-to-date-with-github-actions/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue