diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/update-inputs.yaml | 14 | ||||
| -rw-r--r-- | .github/workflows/update-nixpkgs.yaml | 16 |
2 files changed, 11 insertions, 19 deletions
diff --git a/.github/workflows/update-inputs.yaml b/.github/workflows/update-inputs.yaml index 3103629..0ac81a5 100644 --- a/.github/workflows/update-inputs.yaml +++ b/.github/workflows/update-inputs.yaml @@ -1,23 +1,19 @@ name: update all inputs on: - # schedule: - # # run every saturday - # - cron: "0 0 * * 6" + schedule: + # run every saturday + - cron: "0 0 * * 6" workflow_dispatch: -permissions: read-all - jobs: update-lock: runs-on: ubuntu-latest steps: - - name: checkout repo - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: update all inputs - uses: ./.github/actions/flake-update + - uses: ./.github/actions/flake-update with: commit-msg: "flake: update all inputs" github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/update-nixpkgs.yaml b/.github/workflows/update-nixpkgs.yaml index 81fbe9e..8b0ac1b 100644 --- a/.github/workflows/update-nixpkgs.yaml +++ b/.github/workflows/update-nixpkgs.yaml @@ -1,25 +1,21 @@ name: update nixpkgs inputs on: - # schedule: - # # run daily at 0:00 utc - # - cron: "0 0 * * *" + schedule: + # run daily at 0:00 utc + - cron: "0 0 * * *" workflow_dispatch: -permissions: read-all - jobs: update-nixpkgs: runs-on: ubuntu-latest steps: - - name: checkout repo - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: update nixpkgs inputs - uses: ./.github/actions/flake-update + - uses: ./.github/actions/flake-update with: - inputs: nixpkgs nixpkgs-stable commit-msg: "flake: update nixpkgs inputs" github-token: ${{ secrets.GITHUB_TOKEN }} + inputs: nixpkgs nixpkgs-stable update-token: ${{ secrets.FLAKE_UPDATE }} |
