-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from startersclan/feature/ci-add-github-workflows
Feature (ci): Add github workflows
- Loading branch information
Showing
3 changed files
with
96 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name-template: 'v$RESOLVED_VERSION 🌈' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- title: '🖊️ Refactors' | ||
labels: | ||
- 'refactor' | ||
- title: '👗 Style' | ||
labels: | ||
- 'style' | ||
- title: '📝 Documentation' | ||
labels: | ||
- 'docs' | ||
- 'documentation' | ||
- title: '🧰 Maintenance' | ||
label: 'chore' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
version-resolver: | ||
major: | ||
labels: | ||
# - 'major' | ||
- 'breaking' | ||
minor: | ||
labels: | ||
# - 'minor' | ||
- 'feature' | ||
- 'enhancement' | ||
- 'refactor' | ||
patch: | ||
labels: | ||
# - 'patch' | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- 'style' | ||
- 'docs' | ||
- 'documentation' | ||
- 'chore' | ||
default: patch | ||
sort-by: title | ||
template: | | ||
## Changes | ||
$CHANGES |
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,38 @@ | ||
name: ci-master-pr | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- '**' | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
update-draft-release: | ||
if: github.ref == 'refs/heads/master' | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Drafts your next Release notes as Pull Requests are merged into "master" | ||
- uses: release-drafter/release-drafter@v5 | ||
with: | ||
config-name: release-drafter.yml | ||
publish: false | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
publish-draft-release: | ||
if: startsWith(github.ref, 'refs/tags/') | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Drafts your next Release notes as Pull Requests are merged into "master" | ||
- uses: release-drafter/release-drafter@v5 | ||
with: | ||
config-name: release-drafter.yml | ||
publish: true | ||
name: ${{ github.ref_name }} # E.g. 'master' or 'v1.2.3' | ||
tag: ${{ github.ref_name }} # E.g. 'master' or 'v1.2.3' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,6 @@ | ||
# StatsPython | ||
|
||
[![github-actions](https://github.com/startersclan/StatsPython/workflows/ci-master-pr/badge.svg)](https://github.com/startersclan/StatsPython/actions) | ||
[![github-release](https://img.shields.io/github/v/release/startersclan/StatsPython?style=flat-square)](https://github.com/startersclan/StatsPython/releases/) | ||
|
||
BF2Statistics [`3.x.x`](https://github.com/BF2Statistics/ASP) python files for the BF2 server. |