diff --git a/.gitea/workflows/job_lint.yml b/.gitea/workflows/job_lint.yml index aa45e23d..ffaaeb5b 100644 --- a/.gitea/workflows/job_lint.yml +++ b/.gitea/workflows/job_lint.yml @@ -2,15 +2,15 @@ name: lint on: pull_request: - types: [opened, reopened, closed] + types: [opened, reopened, closed, synchronize] branches: - master - v3 - v4 jobs: - lint: - name: lint + if_merged: + if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - name: setup-go