diff --git a/.github/workflows/label-maker.yml b/.github/workflows/label-maker.yml index a1fa6ad..20b29a4 100644 --- a/.github/workflows/label-maker.yml +++ b/.github/workflows/label-maker.yml @@ -1,7 +1,11 @@ name: ConaIsa # Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows -on: push +on: + pull_request: + types: [synchronize, opened, reopened, ready_for_review] + paths: + - '*.labels.yml$' jobs: labeler: diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 170dada..e5ff72c 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,11 +1,11 @@ # Workflow to associate labels automatically name: Label management -# Trigger if push -on: [pull_request] -# push: -# paths: -# - '.*label-pr\.yml$' +on: + pull_request: + types: [synchronize, opened, reopened, ready_for_review] + paths: + - '*.label-pr.yml$' jobs: label: