From 961d49da1c3863c70c837143d2272e767aa18144 Mon Sep 17 00:00:00 2001 From: cvnertnc <148134890+cvnertnc@users.noreply.github.com> Date: Wed, 20 Mar 2024 11:32:28 +0300 Subject: [PATCH] ```-x-``` Update .yml --- .github/workflows/codespell.yml | 6 ++++-- .github/workflows/verify.yml | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index d873fb725..a7adaa6b6 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -4,14 +4,16 @@ # https://github.com/codespell-project/actions-codespell # https://github.com/codespell-project/codespell name: codespell -on: pull_request +on: +# pull_request + workflow_dispatch: permissions: {} jobs: codespell: name: Check for spelling errors runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - uses: codespell-project/actions-codespell@master diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 84649da23..f26b84100 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -4,12 +4,21 @@ name: 'yuzu verify' on: - pull_request: - branches: [ master ] -env: - PR_NUMBER: pr${{ github.event.number }} + # workflow_call: + # inputs: + # from_ci: + # type: boolean + # required: false + # default: true + workflow_dispatch: jobs: + codespell: + permissions: write-all + needs: check + uses: ./.github/workflows/codespell.yml + if: ${{ needs.check.outputs.SHOULD_BUILD == 1 }} + secrets: inherit format: name: 'verify format' runs-on: ubuntu-latest