diff --git a/.gitea/workflows/job_lint.yml b/.gitea/workflows/job_lint.yml index 19f6107e..6385c4af 100644 --- a/.gitea/workflows/job_lint.yml +++ b/.gitea/workflows/job_lint.yml @@ -1,5 +1,3 @@ -name: lint - on: pull_request: types: [opened, reopened, closed, synchronize] @@ -10,6 +8,7 @@ on: jobs: if_merged: + name: lint if: ${{ github.event.pull_request.state != 'closed' || github.event.pull_request.merged == true }} runs-on: ubuntu-latest steps: diff --git a/.gitea/workflows/job_test.yml b/.gitea/workflows/job_test.yml index f01c405b..5feb9d2d 100644 --- a/.gitea/workflows/job_test.yml +++ b/.gitea/workflows/job_test.yml @@ -1,5 +1,3 @@ -name: test - on: pull_request: types: [opened, reopened, closed, synchronize] @@ -15,6 +13,7 @@ on: jobs: if_merged: + name: test if: ${{ github.event.pull_request.state != 'closed' || github.event.pull_request.merged == true }} runs-on: ubuntu-latest steps: