Skip to content

Commit

Permalink
Configure Dependabot + Workflow Tweaks (#11)
Browse files Browse the repository at this point in the history
* Add dependabot config

* Label PR to exclude from release notes

* Add paths filter

* Include `Package.resolved` in filter
  • Loading branch information
mgacy authored Jan 17, 2024
1 parent e75fc68 commit c5a11cf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"
1 change: 1 addition & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@ on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.github/workflows/tests.yml'
- '**.swift'
- 'Package.resolved'
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths:
- '.github/workflows/tests.yml'
- '**.swift'
- 'Package.resolved'

jobs:
unit_tests:
Expand Down

0 comments on commit c5a11cf

Please sign in to comment.