Skip to content

feat(docs): add contribution usage examples and other useful information #1

feat(docs): add contribution usage examples and other useful information

feat(docs): add contribution usage examples and other useful information #1

Workflow file for this run

name: PR Title and Docker Build Check
on:
pull_request_target:
types:
- opened
- edited
- reopened
jobs:
check-pr-title:
name: Check PR Title Format
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@v5
with:
types: |
feat
fix
chore
docs
refactor
scopes: |
8.0
8.1
8.2
8.3
8.4
docs
workflows
requireScope: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
docker:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- tag: "8.4"
php: "8.4"
- tag: "8.3"
php: "8.3"
- tag: "8.2"
php: "8.2"
- tag: "8.1"
php: "8.1"
- tag: "8.0"
php: "8.0"
steps:
- uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: false
context: ${{ matrix.php }}
tags: ocreaper/php-nvm:${{ matrix.tag }}