Skip to content

Commit

Permalink
merge update.
Browse files Browse the repository at this point in the history
  • Loading branch information
buluma committed Jan 9, 2024
1 parent e73f12a commit 9c8780f
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 17 deletions.
11 changes: 6 additions & 5 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
name-template: 'v$NEXT_MINOR_VERSION'
tag-template: 'v$NEXT_MINOR_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
- 'dependencies'
- title: '🐛 Role Fixes'
labels:
- 'fix'
- 'bugfix'
Expand All @@ -25,8 +26,8 @@ version-resolver:
patch:
labels:
- 'patch'
default: patch
default: minor
template: |
## Rifle, Rifle, Rifle!
## What’s Changed
$CHANGES
27 changes: 27 additions & 0 deletions .github/workflows/depandabot_merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
#
# Ansible managed
#

name: "Dependabot Merge"

on:
pull_request:
pull_request_target:

permissions:
contents: write
pull-requests: write

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true


jobs:
dependabot_merge:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@master"
- name: Dependabot Auto Merge Action
uses: buluma/[email protected]
31 changes: 20 additions & 11 deletions .github/workflows/release_drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
# branches to consider in the event; optional, defaults to default
branches:
- master
- main
- dependabot/**
- testing
paths-ignore:
- '**/README.md'
Expand All @@ -19,44 +20,52 @@ on:
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
pull_request_target:

permissions: write-all

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:

# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
# with:
# config-name: my-config.yml
# disable-autolabeler: true
with:
config-name: release-drafter.yml
disable-autolabeler: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
changelog_draft:
runs-on: ubuntu-latest

steps:
- name: Checkout dj-wasabi-release repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: dj-wasabi/dj-wasabi-release
path: dj-wasabi-release

- name: Checkout current repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: master

path: ${{ github.event.repository.default_branch }}
- name: Commit Changelog file
run: |
# We are cloned in the 'main' directory and the dj-wasabi-release
# repository is the 'dj-wasabi-release' next to 'main'
cd master
# We are cloned in the 'default' directory and the dj-wasabi-release
# repository is the 'dj-wasabi-release' next to 'default'
cd ${{ github.event.repository.default_branch }}
# Generate CHANGELOG.md file
../dj-wasabi-release/release.sh -d
# Let commit the changes if there are any? (Well there should be!)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 Shadow Walker ([email protected])
Copyright 2024 Shadow Walker ([email protected])

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 9c8780f

Please sign in to comment.