From 05240abfe03386d49b5a9f52c53734817b2314bc Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Sat, 19 Nov 2022 11:28:06 +0100 Subject: [PATCH] GitHub Actions: removed `on.pull_request.*` to avoid duplicate execution or actions in PRs --- .github/workflows/ci.yml | 6 ++---- .github/workflows/natives.yml | 10 ++-------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 041eec92..71aaf0bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,5 @@ -# https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle +# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions +# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle name: CI @@ -8,9 +9,6 @@ on: - '*' tags: - '[0-9]*' - pull_request: - branches: - - '*' jobs: build: diff --git a/.github/workflows/natives.yml b/.github/workflows/natives.yml index 4b5ff69d..82c2ea58 100644 --- a/.github/workflows/natives.yml +++ b/.github/workflows/natives.yml @@ -1,4 +1,5 @@ -# https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle +# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions +# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle name: Native Libraries @@ -12,13 +13,6 @@ on: - 'flatlaf-natives/**' - '.github/workflows/natives.yml' - 'gradle/wrapper/gradle-wrapper.properties' - pull_request: - branches: - - '*' - paths: - - 'flatlaf-natives/**' - - '.github/workflows/natives.yml' - - 'gradle/wrapper/gradle-wrapper.properties' jobs: Natives: