-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
338 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,27 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot | ||
# Configuration for github-actions | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: "[github-actions] " | ||
prefix: "⬆️ github-actions" | ||
include: scope | ||
labels: | ||
- dependencies | ||
|
||
# Configuration for docker | ||
- package-ecosystem: docker | ||
directory: / | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: "[docker] " | ||
prefix: "⬆️ docker" | ||
include: scope | ||
labels: | ||
- dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
--- | ||
name-template: v$RESOLVED_VERSION | ||
tag-template: v$RESOLVED_VERSION | ||
footer: | | ||
See details of all code changes: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION since previous release. | ||
template: | | ||
## 🔄️ What's Changed | ||
$CHANGES | ||
## 👥 Contributors | ||
$CONTRIBUTORS | ||
categories: | ||
- title: 💥 Breaking | ||
labels: | ||
- major | ||
- breaking | ||
- title: 🚀 Features | ||
labels: | ||
- minor | ||
- feature | ||
- enhancement | ||
- title: 🐛 Bug Fixes | ||
labels: | ||
- fix | ||
- bugfix | ||
- bug | ||
- title: 🧰 Maintenance | ||
labels: | ||
- maintenance | ||
- chore | ||
- title: 📚 Documentation | ||
labels: | ||
- doc | ||
- docs | ||
- documentation | ||
- title: Other changes | ||
label: patch | ||
- title: ⬆️ Dependencies | ||
labels: | ||
- dependencies | ||
- deps | ||
collapse-after: 3 | ||
- title: 🚨 Security | ||
label: security | ||
collapse-after: 3 | ||
exclude-labels: | ||
- skip-changelog | ||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)" | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
version-resolver: | ||
major: | ||
labels: | ||
- major | ||
- breaking | ||
minor: | ||
labels: | ||
- minor | ||
- feature | ||
- enhancement | ||
patch: | ||
labels: | ||
- patch | ||
- fix | ||
- bugfix | ||
- bug | ||
- maintenance | ||
- chore | ||
- doc | ||
- docs | ||
- documentation | ||
- deps | ||
- dependencies | ||
- security | ||
default: patch | ||
# TODO autolabeler https://github.com/release-drafter/release-drafter/#autolabeler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: Draft Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
draft-release: | ||
name: Draft Release | ||
permissions: | ||
contents: write | ||
pull-requests: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 📝 Run Release Drafter | ||
uses: release-drafter/release-drafter@v5 | ||
id: release-drafter | ||
with: | ||
prerelease: true | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
|
||
- name: ✍️ Post Summary | ||
run: | | ||
echo "${RELEASE_URL}" | ||
echo "${RELEASE_URL}" >> "$GITHUB_STEP_SUMMARY" | ||
env: | ||
RELEASE_URL: ${{ steps.release-drafter.outputs.html_url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: Publish Release | ||
|
||
on: | ||
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release | ||
release: | ||
types: | ||
- published | ||
workflow_dispatch: | ||
inputs: | ||
tag_name: | ||
description: Tag name that the major tag will point to | ||
required: true | ||
|
||
env: | ||
TAG_NAME: ${{ github.event.inputs.tag_name || github.event.release.tag_name }} | ||
|
||
jobs: | ||
gh-release: | ||
name: Publish Release | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🥇 Update release to the latest | ||
id: gh-release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
prerelease: false | ||
token: ${{ github.token }} | ||
|
||
- name: 🥇 Update the major tag to include the ${{ env.TAG_NAME }} changes | ||
id: major-tag | ||
uses: actions/[email protected] | ||
with: | ||
source-tag: ${{ env.TAG_NAME }} | ||
token: ${{ github.token }} |
Oops, something went wrong.