mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
fix: duster workflow
This commit is contained in:
43
.github/workflows/duster-fix-blame.yml
vendored
43
.github/workflows/duster-fix-blame.yml
vendored
@@ -1,43 +0,0 @@
|
|||||||
name: Duster Fix
|
|
||||||
|
|
||||||
# Commits made in here will not trigger any workflows
|
|
||||||
# Checkout Duster's documentation for a workaround
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ main ]
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
duster:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ref: ${{ github.head_ref }}
|
|
||||||
|
|
||||||
- name: "Duster Fix"
|
|
||||||
uses: tighten/duster-action@v3
|
|
||||||
with:
|
|
||||||
args: fix
|
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
||||||
id: auto_commit_action
|
|
||||||
with:
|
|
||||||
commit_message: Dusting
|
|
||||||
commit_user_name: GitHub Action
|
|
||||||
commit_user_email: actions@github.com
|
|
||||||
|
|
||||||
- name: Ignore Duster commit in git blame
|
|
||||||
if: steps.auto_commit_action.outputs.changes_detected == 'true'
|
|
||||||
run: echo ${{ steps.auto_commit_action.outputs.commit_hash }} >> .git-blame-ignore-revs
|
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
||||||
with:
|
|
||||||
commit_message: Ignore Dusting commit in git blame
|
|
||||||
commit_user_name: GitHub Action
|
|
||||||
commit_user_email: actions@github.com
|
|
||||||
20
.github/workflows/duster-lint.yml
vendored
Normal file
20
.github/workflows/duster-lint.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Duster Lint
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
duster:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
|
- name: "Duster Lint"
|
||||||
|
uses: tighten/duster-action@v3
|
||||||
|
with:
|
||||||
|
args: lint
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
"phpunit/phpunit": "^11.0",
|
"phpunit/phpunit": "^11.0",
|
||||||
"rector/rector": "^2.0",
|
"rector/rector": "^2.0",
|
||||||
"spatie/laravel-ignition": "^2.4",
|
"spatie/laravel-ignition": "^2.4",
|
||||||
"tightenco/duster": "^3.0"
|
"tightenco/duster": "^3.2"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|||||||
6
composer.lock
generated
6
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "d033ffb7fec0b1604d5783ceb8842451",
|
"content-hash": "c7b96ea7e7ae91f4bf96f94137267991",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "andcarpi/laravel-popper",
|
"name": "andcarpi/laravel-popper",
|
||||||
@@ -11766,6 +11766,6 @@
|
|||||||
"platform": {
|
"platform": {
|
||||||
"php": "^8.2"
|
"php": "^8.2"
|
||||||
},
|
},
|
||||||
"platform-dev": [],
|
"platform-dev": {},
|
||||||
"plugin-api-version": "2.3.0"
|
"plugin-api-version": "2.6.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user