From 52ec397d8d72f1314bd17dd3b5a83ce35eea8d3f Mon Sep 17 00:00:00 2001 From: Matt Gacy Date: Wed, 17 Jan 2024 08:12:07 -0700 Subject: [PATCH 1/4] Add dependabot config --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f3b3e1e --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file +version: 2 +updates: + - package-ecosystem: "swift" + directory: "/" + schedule: + interval: "daily" From e5896ba1fa8f05d745f45f096380386328d1e209 Mon Sep 17 00:00:00 2001 From: Matt Gacy Date: Wed, 17 Jan 2024 08:15:23 -0700 Subject: [PATCH 2/4] Label PR to exclude from release notes --- .github/workflows/prepare-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index e167d7b..17f4a2d 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -35,4 +35,5 @@ jobs: title: '[CI] Prepare Version ${{ steps.bump.outputs.version }} Release' body: | Update `Version.swift` with bumped version number. + labels: ci draft: false From e3f348465ef6848adc4532cefd899ae27116b925 Mon Sep 17 00:00:00 2001 From: Matt Gacy Date: Wed, 17 Jan 2024 08:30:35 -0700 Subject: [PATCH 3/4] Add paths filter --- .github/workflows/tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bff8d6b..f074dca 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,12 +5,18 @@ on: workflow_dispatch: push: branches: [ main ] + paths: + - '**.swift' + - '.github/workflows/tests.yml' pull_request: types: - opened - reopened - synchronize - ready_for_review + paths: + - '**.swift' + - '.github/workflows/tests.yml' jobs: unit_tests: From 3699f77cba0bcaa24853080291a1ebe8d5b617e6 Mon Sep 17 00:00:00 2001 From: Matt Gacy Date: Wed, 17 Jan 2024 08:35:19 -0700 Subject: [PATCH 4/4] Include `Package.resolved` in filter --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f074dca..ee72ead 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,8 +6,9 @@ on: push: branches: [ main ] paths: - - '**.swift' - '.github/workflows/tests.yml' + - '**.swift' + - 'Package.resolved' pull_request: types: - opened @@ -15,8 +16,9 @@ on: - synchronize - ready_for_review paths: - - '**.swift' - '.github/workflows/tests.yml' + - '**.swift' + - 'Package.resolved' jobs: unit_tests: