Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
leona-ya committed Dec 18, 2024
1 parent 82e7c6c commit ffa128f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/update-nixpkgs-cleanup.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: update-nixpkgs-cleanup

on:
pull_request:
pull_request_target:
types:
- closed

Expand All @@ -12,7 +12,12 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: flyingcircusio/fc-nixos-release-tools
ref: ${{ github.event.pull_request.head.sha }}
path: 'fc-nixos'
fetch-depth: 0
- uses: actions/checkout@v4
with:
repository: flyingcircusio/fc-nixos-release-tools-testing
path: 'release-tools'
- uses: cachix/install-nix-action@v21
with:
Expand Down Expand Up @@ -40,7 +45,9 @@ jobs:
- run: |
./result/bin/update-nixpkgs cleanup \
--merged-pr-id ${{ github.event.number }} \
--fc-nixos-dir fc-nixos \
--nixpkgs-dir nixpkgs \
--nixpkgs-origin-url https://x-access-token:${{steps.app-token.outputs.token}}@github.com/flyingcircusio/nixpkgs.git
--nixpkgs-origin-url https://x-access-token:${{steps.app-token.outputs.token}}@github.com/flyingcircusio/nixpkgs-testing.git
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
MATRIX_HOOKSHOT_URL: ${{ secrets.MATRIX_HOOKSHOT_URL }}
2 changes: 1 addition & 1 deletion release/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"hash": "sha256-gKEi/inkCJcoOjt6W2lCb1sNwANe38H2sPJakIRObQg=",
"owner": "flyingcircusio",
"repo": "nixpkgs",
"rev": "ff898be476375d3673334608f5a41efd9805258a"
"rev": "299a15d5983e06b1142fb69e8762c07c7336496f"
}
}

0 comments on commit ffa128f

Please sign in to comment.