Skip to content

Commit

Permalink
feat: update dependabot settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankatliarchuk committed Apr 4, 2021
1 parent e07a1d4 commit a739f9b
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
7 changes: 6 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,9 @@ updates:
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
interval: "weekly"

- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
8 changes: 8 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,24 @@ version-resolver:
major:
labels:
- 'type: breaking'
- 'major'

minor:
labels:
- 'type: feature'
- 'minor'

patch:
labels:
- 'type: bug'
- 'type: maintenance'
- 'type: docs'
- 'type: dependencies'
- 'type: security'
- 'patch'
- 'chore'
- 'fix'
default: patch

exclude-labels:
- reverted
Expand Down
26 changes: 18 additions & 8 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ on:
tags:
description: 'manual trigger'
release:
types: # This configuration does not affect the page_build event above
- created
types: [published]

env:
isForkedRepository: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }}
BRANCH: main

jobs:
changelog:
update-changelog:
runs-on: ubuntu-latest
name: Generate changelog for main branch
if: "!contains(github.event.head_commit.message, 'skip')"
Expand Down Expand Up @@ -47,9 +46,20 @@ jobs:
contents: ${{ steps.changelog.outputs.changelog }}${{ steps.readfile.outputs.content }}
write-mode: overwrite

- name: Commit and push CHANGELOG.md
uses: EndBug/add-and-commit@v7
-
name: Create Pull Request
uses: peter-evans/create-pull-request@v3
if: success()
with:
add: CHANGELOG.md
message: "chore: Update CHANGELOG.md [skip ci]"
branch: main
commit-message: "chore: Update CHANGELOG.md [skip ci]"
title: Update Changelog
body: "chore: Update CHANGELOG.md [skip ci]"
branch: update-changelog
base: main

# - name: Commit and push CHANGELOG.md
# uses: EndBug/add-and-commit@v7
# with:
# add: CHANGELOG.md
# message: "chore: Update CHANGELOG.md [skip ci]"
# branch: main

0 comments on commit a739f9b

Please sign in to comment.