From f0be30d0ac90ecccbff10bceb70e37b4c0ac8325 Mon Sep 17 00:00:00 2001 From: Igor Dejanovic Date: Mon, 17 Jun 2024 12:56:51 +0200 Subject: [PATCH] ci: use `rust-overlay` branch for rust-overlay updates and checks --- .github/workflows/checks.yml | 2 ++ .github/workflows/update-rust-overlay.yml | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 5400a1e2..124e97c6 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -8,6 +8,8 @@ on: merge_group: workflow_run: workflows: ["Update rust-overlay"] + branches: + - 'rust-overlay' types: - completed diff --git a/.github/workflows/update-rust-overlay.yml b/.github/workflows/update-rust-overlay.yml index 3fdd8071..726e5f13 100644 --- a/.github/workflows/update-rust-overlay.yml +++ b/.github/workflows/update-rust-overlay.yml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + ref: 'rust-overlay' - uses: cachix/install-nix-action@v27 with: nix_path: nixpkgs=channel:nixos-unstable @@ -26,5 +28,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: main - + branch: rust-overlay