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