From 4072578a019794e4b224fd796bf0b23bee9217cb Mon Sep 17 00:00:00 2001 From: Sanghee Park Date: Wed, 25 Sep 2024 11:34:25 +0900 Subject: [PATCH] ci: update Download only gets triggered when workflow updates --- .github/workflows/download.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index f818528..8e13316 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -7,8 +7,12 @@ on: # Triggers the workflow on push or pull request events but only for the "main" branch push: branches: [ "main" ] + paths: + - ".github/workflows/*" pull_request: branches: [ "main" ] + paths: + - ".github/workflows/*" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -16,7 +20,7 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" - build: + download: # The type of runner that the job will run on runs-on: ubuntu-latest