From 1b3e7238319f1809eb8b36d491b40e439cd1f6ff Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 20 Oct 2023 17:09:07 +0100 Subject: [PATCH] ci: don't bother with `${{ github.head_ref }}` --- .github/workflows/build.yaml | 6 +----- .github/workflows/release.yaml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 48b354b..7e15d32 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,8 +26,6 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - name: Install Rust uses: dtolnay/rust-toolchain@master with: @@ -47,11 +45,9 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - name: Install Rust uses: dtolnay/rust-toolchain@master with: toolchain: ${{ env.TOOLCHAIN }} components: rustfmt - - run: cargo fmt --all --check \ No newline at end of file + - run: cargo fmt --all --check diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5b4b3ec..dbad3b0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -72,4 +72,4 @@ jobs: tag: "${{ github.event.inputs.tag }}" body: "${{ needs.prep-release.outputs.release_body }}" draft: true -# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json \ No newline at end of file +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json