Skip to content

Commit

Permalink
Add license
Browse files Browse the repository at this point in the history
  • Loading branch information
robbinjanssen committed Apr 20, 2022
1 parent 510e845 commit 41c4d64
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 16 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ on:
branches:
- master
pull_request:
branches:
- master
types: [opened, edited, reopend, synchronize]

jobs:
check-code-style:
lint:
name: Check code style
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
Expand All @@ -24,7 +23,7 @@ jobs:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'
extensions: json, openssl, zlib, zip

- name: Composer install
Expand All @@ -33,7 +32,7 @@ jobs:
composer-options: "--no-scripts"

- name: Run php-cs-fixer
run: ./vendor/bin/php-cs-fixer fix
run: vendor/bin/php-cs-fixer fix

- name: Apply php-cs-fixer changes
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/draft-release.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
---
name: Release Drafter
name: Draft Release

on:
push:
branches:
- master

jobs:
update_release_draft:
name: ✏️ Draft release
update-release-draft:
name: Update
runs-on: ubuntu-latest

steps:
- name: 🚀 Run Release Drafter
- name: Run release drafter
id: draft
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ on:

jobs:
labels:
name: ♻️ Sync labels
name: Sync labels
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}

steps:
- name: ⤵️ Check out code from GitHub
- name: Checkout repository
uses: actions/checkout@v3
- name: 🚀 Run Label Syncer

- name: Run Label Syncer
uses: micnncim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ on:
types: [opened, labeled, unlabeled, synchronize]

jobs:
pr_labels:
pr-labels:
name: Verify
runs-on: ubuntu-latest

steps:
- name: 🏷 Verify PR has a valid label
- name: Verify PR has a valid label
uses: jesusvasquez333/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
pull-request-number: "${{ github.event.pull_request.number }}"
valid-labels: >-
breaking-change, bugfix, documentation, enhancement,
refactor, performance, new-feature, maintenance, ci, dependencies
breaking-change, bugfix, hotfix, documentation, enhancement,
refactor, performance, new-feature, maintenance, ci,
dependencies, skip-changelog
disable-reviews: true
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# The MIT License (MIT)

Copyright © 2022 Exonet <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 comments on commit 41c4d64

Please sign in to comment.