1
0
mirror of https://github.com/SimonPistache/famfamfam-silk-svg.git synced 2025-06-08 01:54:20 +02:00

Compare commits

...

6 Commits

Author SHA1 Message Date
a7cd815b09 ci: Change naming 2025-03-04 11:18:20 +01:00
983966d9fa ci(#202): Change dependency version to 1.4.1 2025-03-04 11:00:08 +01:00
5aa5f6fc97 ci(#202): Change dependency wording 2025-03-04 10:58:06 +01:00
cf56f1f22b ci(#202): Change dependency from 1 to v1 2025-03-04 10:56:07 +01:00
58fdc4bd67 ci(#202): 👷 Add Conventional Commit Validation 2025-03-04 10:54:15 +01:00
314fb72f92 ci(#202): 👷 Start working on CI
Add Semantic Release for automating Releasing versions
2025-03-04 10:19:55 +01:00
3 changed files with 58 additions and 0 deletions

33
.github/workflows/auto-release.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: Automatic Release
run-name: Release a new version of the icon pack on PR's merging
on:
pull_request:
types:
- closed
branches:
- main
jobs:
semantic-release:
if: "!contains(github.event.head_commit.message, 'ci:')"
name: Semantic Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# Checkout data from the repository
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
# Run Semantic-release-action with the included release
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
id: semantic # Need an `id` for output variables
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

16
.github/workflows/pr-cc.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Conventional Commit
run-name: Enforce that PR name follow Conventional Commits
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
Validate:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/pr-conventional-commits@1.4.1
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
add_label: 'false'

9
.releaserc.yml Normal file
View File

@ -0,0 +1,9 @@
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- "@semantic-release/git"
- "@semantic-release/github"
branches:
- main