Skip to content

Commit

Permalink
chore(.github): fix dependabot checks
Browse files Browse the repository at this point in the history
Fix issue preventing Dependabot checks from completing.
  • Loading branch information
olgahaha committed Nov 12, 2024
1 parent 2803e81 commit 2e8b331
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ updates:
directory: '/'
schedule:
interval: 'monthly'
target-branch: 'develop'
target-branch: 'main'
open-pull-requests-limit: 5
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build

on:
pull_request:
branches: [master, develop]
branches: [main]

jobs:
android:
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:

- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
if: ${{ github.ref == 'refs/heads/develop' || github.event.pull_request.base.ref == 'develop'}}
if: ${{ github.ref == 'refs/heads/main' || github.event.pull_request.base.ref == 'main'}}
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: 'success'
Expand All @@ -136,7 +136,7 @@ jobs:

- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
if: ${{ github.ref == 'refs/heads/develop' || github.event.pull_request.base.ref == 'develop'}}
if: ${{ github.ref == 'refs/heads/main' || github.event.pull_request.base.ref == 'main'}}
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: 'failure'
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body: Thanks for following along! For more information check out the [CHANGELOG](https://github.com/numbersprotocol/capture-lite/blob/master/CHANGELOG.md).
body: Thanks for following along! For more information check out the [CHANGELOG](https://github.com/numbersprotocol/capture-lite/blob/main/CHANGELOG.md).
prerelease: true

- name: Send Slack notification
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: test

on:
push:
branches:
[master, 'feature-*', 'feat-*', 'fix-*', 'hotfix-*', 'milestone-*']
on: push

jobs:
lint:
Expand Down

0 comments on commit 2e8b331

Please sign in to comment.