馃 my neovim config:)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 69 lines 1.5 kB view raw
1name: Update Flake Inputs 2on: 3 workflow_dispatch: 4 schedule: 5 - cron: "0 2 * * 3" # 02:00 on Wednesday 6 7permissions: {} 8 9jobs: 10 update-lockfile: 11 runs-on: ubuntu-latest 12 13 permissions: 14 pull-requests: write 15 contents: write 16 17 outputs: 18 pr: ${{ steps.pr.outputs.pull-request-url }} 19 branch: ${{ steps.pr.outputs.pull-request-branch }} 20 21 steps: 22 - name: Checkout repository 23 uses: actions/checkout@v5 24 25 - name: Install Nix 26 uses: DeterminateSystems/nix-installer-action@main 27 28 - name: Update Lockfile 29 run: nix flake update 30 31 - name: Update Sources 32 run: | 33 nix run .#update 34 35 - name: Create Pull request 36 id: pr 37 uses: peter-evans/create-pull-request@v7 38 with: 39 title: "chore: update flake inputs" 40 commit-message: "chore: update flake inputs" 41 branch: update-flake-inputs 42 token: ${{ github.token }} 43 44 build: 45 name: Build 46 needs: update-lockfile 47 48 permissions: 49 contents: read 50 51 uses: ./.github/workflows/build.yml 52 with: 53 ref: ${{ needs.update-lockfile.outputs.branch }} 54 55 merge: 56 name: Merge Pull Request 57 needs: [update-lockfile, build] 58 runs-on: ubuntu-latest 59 60 permissions: 61 pull-requests: write 62 contents: write 63 64 steps: 65 - name: Merge Pull Request 66 run: gh pr merge --rebase --auto --delete-branch "$PR" 67 env: 68 GH_TOKEN: ${{ github.token }} 69 PR: ${{ needs.update-lockfile.outputs.pr }}