File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 lockfile :
9+ env :
10+ BRANCH : chore/update-flake-lock
11+
912 runs-on : ubuntu-latest
1013 steps :
1114 - name : Checkout repository
1922 name : kidibox
2023 authToken : " ${{ secrets.CACHIX_AUTH_TOKEN }}"
2124
25+ - name : Create or update branch
26+ run : |
27+ git checkout -b $BRANCH
28+ git push -u origin $BRANCH --force
29+
2230 - name : Update flake.lock
2331 run : nix flake update
2432
3442 FILES="${FILES} -F files[][path]=$value -F files[][contents]=$(base64 -w0 $value)"
3543 done
3644
37- git checkout -b $BRANCH
38- git push -u origin $BRANCH --force
39-
4045 gh api graphql \
4146 -F githubRepository=$GITHUB_REPOSITORY \
4247 -F branchName=$BRANCH \
4853 gh pr create --fill --base main --head $BRANCH
4954 env :
5055 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51- BRANCH : chore/update-flake-lock
5256
5357 # - name: Commit changes
5458 # env:
You can’t perform that action at this time.
0 commit comments