Skip to content

Commit

Permalink
Merge branch 'dev' into releases/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jul 5, 2024
2 parents 43f30d6 + b24ff6e commit 9120fcc
Show file tree
Hide file tree
Showing 21 changed files with 1,316 additions and 896 deletions.
74 changes: 0 additions & 74 deletions .eslintrc.json

This file was deleted.

2 changes: 0 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# These are supported funding model platforms

github: [JamesIves]
50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Bug Report 🐝
description: Create a bug report to help us improve the action.
title: 'bug: 🐝 '
labels: ['bug 🐝', 'triage ⚠️']
assignees:
- JamesIves
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to report a bug. Please fill out the sections below to help us reproduce the issue and improve the action. If you're unsure about something, feel free to skip it or write N/A in the field.
[Please check the Q&A before posting an issue here](https://github.com/JamesIves/github-sponsors-readme-action/discussions/categories/q-a).
- type: textarea
id: bug-description
attributes:
label: Describe the bug
description: 'Please provide a clear and concise description of what the bug is and what you expected to happen.'
validations:
required: true
- type: textarea
id: reproduction-steps
attributes:
label: Reproduction Steps
description: 'Steps to reproduce the behavior. Please provide a minimal example if possible.'
validations:
required: true
- type: textarea
id: logs
attributes:
label: Logs
description: "Please provide your deployment logs if applicable. If the error message isn't revealing the problem please set ACTIONS_STEP_DEBUG to true in your repository's secrets menu and run the workflow again."
render: shell
validations:
required: false
- type: textarea
id: workflow
attributes:
label: Workflow
description: 'Please provide a link or snippet of your workflow yml file.'
render: yml
validations:
required: true
- type: textarea
id: additional-comments
attributes:
label: Additional Comments
description: 'Add any other context about the problem here that does not fit elsewhere.'
validations:
required: false
28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md

This file was deleted.

25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,31 @@ updates:
interval: daily
time: '10:00'
open-pull-requests-limit: 10
groups:
eslint:
patterns:
- 'eslint-*'
- '@typescript-eslint/*'
- '@eslint/*'

typescript:
patterns:
- 'typescript-*'
- '@typescript/*'

jest:
patterns:
- 'jest-*'
- '@jest/*'

actions:
patterns:
- 'actions/*'
- '@actions/*'

misc:
patterns:
- '*'

- package-ecosystem: github-actions
directory: '/'
Expand Down
37 changes: 37 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
changelog:
categories:
- title: Breaking Changes 💥
labels:
- breaking 💥
- breaking
- title: New Features 🎉
labels:
- feature ✨
- feat
- title: Bug Fixes 🐝
labels:
- fix 🐝
- bug 🐝
- fix
- title: Performance ⚡
labels:
- performance ⚡
- perf
- title: Build 🔧
labels:
- build 🔧
- build
- title: Testing 🧪
labels:
- test 🧪
- test
- title: Documentation 📖
labels:
- documentation 📖
- docs
- title: Dependencies 🤖
labels:
- dependencies
- title: Other Changes
labels:
- '*'
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: unit-tests
name: Unit Tests 🧪
on:
pull_request:
branches:
Expand All @@ -7,7 +7,7 @@ on:
- releases/v2
push:
branches:
- dev
- '*'
tags-ignore:
- '*.*'
jobs:
Expand All @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20.10.0'
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'

- name: Install Yarn
Expand All @@ -33,6 +33,6 @@ jobs:
yarn test
- name: Uploade CodeCov Report
uses: codecov/codecov-action@v3.1.4
uses: codecov/codecov-action@v4.3.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
31 changes: 0 additions & 31 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: integration-tests
name: Integration Tests 🧪
on:
workflow_dispatch:
inputs:
Expand Down
95 changes: 95 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Label Pull Requests 🏷️

on:
pull_request:
types: [opened, reopened, labeled, unlabeled]

permissions:
pull-requests: write
contents: read

jobs:
assign-labels:
runs-on: ubuntu-latest
name: Assign labels in pull request 🏷️
if: github.event.pull_request.merged == false
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Assign Labels 🏷️
id: action-assign-labels
uses: mauroalderete/action-assign-labels@v1
with:
pull-request-number: ${{ github.event.pull_request.number }}
github-token: ${{ secrets.GITHUB_TOKEN }}
conventional-commits: |
conventional-commits:
- type: 'fix'
nouns: ['FIX', 'Fix', 'fix', 'FIXED', 'Fixed', 'fixed']
labels: ['bug 🐝', 'fix 🐝']
- type: 'feature'
nouns: ['FEATURE', 'Feature', 'feature', 'FEAT', 'Feat', 'feat']
labels: ['feature ✨']
- type: 'breaking_change'
nouns: ['BREAKING CHANGE', 'BREAKING', 'MAJOR']
labels: ['breaking 💥']
- type: 'documentation'
nouns: ['doc', 'docu', 'document', 'documentation']
labels: ['documentation 📖']
- type: 'build'
nouns: ['build', 'rebuild']
labels: ['build 🔧']
- type: 'chore'
nouns: ['chore', 'tidy', 'cleanup']
labels: ['chore 🧹']
- type: 'dependencies'
nouns: ['dependency', 'dependencies', 'package', 'packages', 'bump', 'dependabot']
labels: ['dependencies 🤖']
- type: 'duplicate'
nouns: ['duplicate', 'dupe', 'copy']
labels: ['duplicate 2️⃣']
- type: 'good_first_issue'
nouns: ['good first issue', 'beginner', 'newcomer', 'first-timer']
labels: ['good first issue 🍩']
- type: 'help_wanted'
nouns: ['help wanted', 'need help', 'assistance required']
labels: ['help wanted ❕']
- type: 'proposal'
nouns: ['proposal', 'suggest', 'suggestion']
labels: ['proposal 🔮']
- type: 'question'
nouns: ['question', 'inquiry', 'query']
labels: ['question ❓']
- type: 'test'
nouns: ['test', 'testing', 'tests']
labels: ['test 🧪']
- type: 'triage'
nouns: ['triage', 'sort', 'prioritize']
labels: ['triage ⚠️']
- type: 'wontfix'
nouns: ['wontfix', 'will not fix', 'not fixing']
labels: ['wontfix 🔨']
- type: 'style'
nouns: ['style', 'formatting', 'format']
labels: ['style 🎀']
- type: 'security'
nouns: ['security', 'secure', 'safety']
labels: ['security 🔒']
- type: 'performance'
nouns: ['performance', 'speed', 'optimization']
labels: ['performance 🚀']
- type: 'refactor'
nouns: ['refactor', 'refactoring', 'rework']
labels: ['refactor 🛠']
- type: 'release'
nouns: ['release', 'deploy', 'deployment']
labels: ['release 🚀']
- type: 'ci'
nouns: ['ci', 'continuous integration', 'CI/CD']
labels: ['ci 🚀']
- type: 'hacktoberfest'
nouns: ['hacktoberfest', 'october', 'open source']
labels: ['hacktoberfest 🎃']
maintain-labels-not-matched: false
apply-changes: true
Loading

0 comments on commit 9120fcc

Please sign in to comment.