From 557ca97fcbb2e965ee317d74088f86ecaed336a2 Mon Sep 17 00:00:00 2001 From: mwgg Date: Mon, 26 Aug 2024 06:04:18 +0000 Subject: [PATCH] github actions pls --- .github/workflows/sort_airports.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sort_airports.yml b/.github/workflows/sort_airports.yml index 3506e96..94c980c 100644 --- a/.github/workflows/sort_airports.yml +++ b/.github/workflows/sort_airports.yml @@ -1,12 +1,19 @@ name: Sort JSON -on: +on: push: branches: - master + pull_request: + branches: + - master + types: + - closed + jobs: sort-json: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true) runs-on: ubuntu-latest steps: