Skip to content

Commit

Permalink
Merge pull request #519 from mimmi20/updates
Browse files Browse the repository at this point in the history
update configs
  • Loading branch information
mimmi20 authored Aug 14, 2023
2 parents c4fdddf + 38553da commit 2cd4ba0
Show file tree
Hide file tree
Showing 9 changed files with 117 additions and 63 deletions.
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ updates:
# dependency name)
patterns:
- "*"
# exclude-patterns:
# - "gc_ruboconfig"
# exclude-patterns:
# - "gc_ruboconfig"

open-pull-requests-limit: 10

Expand Down Expand Up @@ -64,8 +64,8 @@ updates:
# dependency name)
patterns:
- "*"
# exclude-patterns:
# - "gc_ruboconfig"
# exclude-patterns:
# - "gc_ruboconfig"

open-pull-requests-limit: 10

Expand Down
40 changes: 20 additions & 20 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,65 +1,65 @@
---
# Default GitHub labels
- color: ee0701
- color: "ee0701"
name: "bug"
description: "Something isn't working"
- color: cccccc
- color: "cccccc"
name: "duplicate"
description: "This issue or pull request already exists"
- color: a2eeef
- color: "a2eeef"
name: "enhancement"
description: "New feature or request"
- color: 7057ff
- color: "7057ff"
name: "good first issue"
description: "Good for newcomers"
- color: 128a0c
- color: "128a0c"
name: "help wanted"
description: "Extra attention is needed"
- color: e6e6e6
- color: "e6e6e6"
name: "invalid"
description: "This doesn't seem right"
- color: cc317c
- color: "cc317c"
name: "question"
description: "Further information is requested"
- color: ffffff
- color: "ffffff"
name: "wontfix"
description: "This will not be worked on"

# other Labels to all mimmi20 repos
- color: 0025ff
- color: "0025ff"
name: "dependencies"
description: "Pull requests that update a dependency file"
- color: f9d0c4
- color: "f9d0c4"
name: "stale"
description: "no activity"
- color: b60205
- color: "b60205"
name: "bc break"
description: "BC Break"
- color: f4e99c
- color: "f4e99c"
name: "maintenance"
description: "Maintenance"
- color: fbca04
- color: "fbca04"
name: "wishlist"
description: ""
- color: d1260f
- color: "d1260f"
name: "security"
description: ""
- color: e6e6e6
- color: "e6e6e6"
name: "removed"
description: ""
- color: b60205
- color: "b60205"
name: "deprecated"
description: ""
- color: 0075ca
- color: "0075ca"
name: "documentation"
description: "Improvements or additions to documentation"
- color: 84175d
- color: "84175d"
name: "major"
description: "Major change"
- color: d86c28
- color: "d86c28"
name: "minor"
description: "Minor change"
- color: 0a9b47
- color: "0a9b47"
name: "patch"
description: "Patch"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
done
echo "Done"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
20 changes: 10 additions & 10 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ on:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
name: "Analyze"
runs-on: "ubuntu-22.04"
permissions:
actions: read
contents: read
Expand All @@ -35,7 +35,7 @@ jobs:
fail-fast: false
matrix:
language:
- 'javascript'
- "javascript"
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
Expand All @@ -51,10 +51,10 @@ jobs:
persist-credentials: false

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
- name: "Initialize CodeQL"
uses: "github/codeql-action/init@v2"
with:
languages: ${{ matrix.language }}
languages: "${{ matrix.language }}"
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
Expand All @@ -64,8 +64,8 @@ jobs:

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: "Autobuild"
uses: "github/codeql-action/autobuild@v2"

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -77,7 +77,7 @@ jobs:
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: "Perform CodeQL Analysis"
uses: "github/codeql-action/analyze@v2"
with:
category: "/language:${{matrix.language}}"
86 changes: 70 additions & 16 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,69 @@ jobs:

uses: "mimmi20/mimmi20/.github/workflows/ci.yml@main"
with:
extensions: "ctype, dom, iconv, mbstring, simplexml, tokenizer, xml, xmlwriter"
extensions: "curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter"
ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0"
composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v"
composer-outdated-option: ""
skip-phpstan: true
skip-phplint: true
skip-rector: true
skip-phpmd: true
skip-psalm: true
skip-composer-ununsed: false
secrets:
envPAT: "${{ secrets.GITHUB_TOKEN }}"

# check-composer:
# name: "Check composer dependencies"
#
# runs-on: "${{ matrix.operating-system }}"
# timeout-minutes: 10
# continue-on-error: false
#
# needs: "ci"
#
# strategy:
# fail-fast: false
#
# matrix:
# operating-system:
# - "ubuntu-20.04"
#
# php-version:
# # Should use the lowest supported version
# - "8.1"
#
# steps:
# - name: "Checkout"
# uses: "actions/checkout@v3"
# with:
# # Disabling shallow clone is recommended for improving relevancy of reporting
# fetch-depth: 0
# lfs: false
# persist-credentials: false
#
# - name: "Install PHP"
# uses: "shivammathur/[email protected]"
# with:
# php-version: "${{ matrix.php-version }}"
# extensions: "none, phar, json, opcache, curl, iconv, mbstring, ctype, dom, intl, simplexml, tokenizer, xml, xmlwriter"
# ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0"
# coverage: "none"
# tools: "composer:v2, composer-unused"
# env:
# fail-fast: true
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# phpts: "nts"
# debug: true
#
# - name: "Update dependencies with composer"
# uses: "ramsey/[email protected]"
# with:
# dependency-versions: "${{ matrix.dependencies }}"
# composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v"
#
# - name: "Check composer.json"
# run: "composer-unused unused --ansi --no-progress --no-interaction --output-format=github"
#
# tests:
# name: "UnitTests with PHPUnit"
#
Expand All @@ -49,8 +99,8 @@ jobs:
# - "ubuntu-20.04"
#
# php-version:
# # Should use the lowest supported version
# - "8.1"
# - "8.2"
#
# dependencies:
# - "lowest"
Expand All @@ -65,20 +115,21 @@ jobs:
# persist-credentials: false
#
# - name: "Install PHP"
# uses: "shivammathur/setup-php@2.23.0"
# uses: "shivammathur/setup-php@2.25.5"
# with:
# php-version: "${{ matrix.php-version }}"
# extensions: "none, phar, json, opcache, ${{ join(fromJson(needs.ci.outputs.extensions), ', ') }}"
# extensions: "none, phar, json, opcache, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter"
# ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0"
# coverage: "none"
# tools: "composer:v2"
# env:
# fail-fast: true
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# phpts: "nts"
# debug: true
#
# - name: "Update dependencies with composer"
# uses: "ramsey/composer-install@v2"
# uses: "ramsey/composer-install@2.2.0"
# with:
# dependency-versions: "${{ matrix.dependencies }}"
# composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v"
Expand All @@ -89,9 +140,7 @@ jobs:
# code-coverage:
# name: "Code Coverage with PHPUnit"
#
# needs:
# - "ci"
# - "tests"
# needs: "tests"
#
# runs-on: "${{ matrix.operating-system }}"
# timeout-minutes: 10
Expand All @@ -105,7 +154,6 @@ jobs:
# - "ubuntu-20.04"
#
# php-version:
# # Should use the lowest supported version
# - "8.1"
#
# dependencies:
Expand All @@ -121,20 +169,21 @@ jobs:
# persist-credentials: false
#
# - name: "Install PHP"
# uses: "shivammathur/setup-php@2.23.0"
# uses: "shivammathur/setup-php@2.25.5"
# with:
# php-version: "${{ matrix.php-version }}"
# extensions: "none, phar, json, opcache, ${{ join(fromJson(needs.ci.outputs.extensions), ', ') }}, ctype, intl, curl"
# extensions: "none, phar, json, opcache, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter"
# ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0, xdebug.mode=coverage"
# coverage: "xdebug"
# tools: "composer:v2"
# env:
# fail-fast: true
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# phpts: "nts"
# debug: true
#
# - name: "Update dependencies with composer"
# uses: "ramsey/composer-install@v2"
# uses: "ramsey/composer-install@2.2.0"
# with:
# dependency-versions: "${{ matrix.dependencies }}"
# composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v"
Expand All @@ -146,7 +195,7 @@ jobs:
# run: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=.build/coverage/clover.xml --coverage-text --coverage-xml=.build/coverage/coverage-xml --log-junit=.build/coverage/phpunit.junit.xml"
#
# - name: "Upload coverage to Codecov"
# uses: "codecov/[email protected].1"
# uses: "codecov/[email protected].4"
# with:
# file: ".build/coverage/clover.xml"
# flags: "phpunit,php-${{ matrix.php-version }},${{ matrix.operating-system }}"
Expand All @@ -161,11 +210,16 @@ jobs:
# # whenever we touch the matrix.
# tests-status:
# name: "Unit & Integration Tests Status"
#
# runs-on: "ubuntu-22.04"
#
# if: always()
#
# needs:
# - "ci"
# - "tests"
# - "code-coverage"
# if: always()
#
# steps:
# - name: Successful run
# if: ${{ !(contains(needs.*.result, 'failure')) }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
permissions:
issues: write

runs-on: ubuntu-latest
runs-on: "ubuntu-22.04"

steps:
- name: "Checkout"
Expand All @@ -33,7 +33,7 @@ jobs:

- uses: "micnncim/[email protected]"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_REPOSITORY: "${{ github.repository }}"
with:
manifest: .github/labels.yml
manifest: ".github/labels.yml"
6 changes: 3 additions & 3 deletions .github/workflows/lock-closed-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:

jobs:
lock:
runs-on: ubuntu-latest
runs-on: "ubuntu-22.04"
steps:
- uses: Dunning-Kruger/[email protected]
- uses: "Dunning-Kruger/[email protected]"
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: "${{ secrets.GITHUB_TOKEN }}"
6 changes: 3 additions & 3 deletions .github/workflows/reactions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ permissions:

jobs:
action:
runs-on: ubuntu-latest
runs-on: "ubuntu-22.04"
steps:
- uses: dessant/reaction-comments@v3
- uses: "dessant/reaction-comments@v3"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
issue-comment: >
:wave: @{comment-author}, would you like to leave
a reaction instead?
Expand Down
Loading

0 comments on commit 2cd4ba0

Please sign in to comment.