Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Commit

Permalink
Merge branch 'main' into dependabot/composer/main/larastan/larastan-t…
Browse files Browse the repository at this point in the history
…w-3.0
  • Loading branch information
thejmitchener authored Jan 8, 2025
2 parents 905a976 + 71bed77 commit aaaca1a
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 6 deletions.
66 changes: 66 additions & 0 deletions .github/issue_template/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Bug Report
description: Report an Issue or Bug with the Package
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
We're sorry to hear you have a problem. Can you help us solve it by providing the following details.
- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you expect to happen?
placeholder: I cannot currently do X thing because when I do, it breaks X thing.
validations:
required: true
- type: textarea
id: how-to-reproduce
attributes:
label: How to reproduce the bug
description: How did this occur, please add any config values used and provide a set of reliable steps if possible.
placeholder: When I do X I see Y.
validations:
required: true
- type: input
id: package-version
attributes:
label: Package Version
description: What version of our Package are you running? Please be as specific as possible
placeholder: 2.0.0
validations:
required: true
- type: input
id: php-version
attributes:
label: PHP Version
description: What version of PHP are you running? Please be as specific as possible
placeholder: 8.2.0
validations:
required: true
- type: input
id: laravel-version
attributes:
label: Laravel Version
description: What version of Laravel are you running? Please be as specific as possible
placeholder: 9.0.0
validations:
required: true
- type: dropdown
id: operating-systems
attributes:
label: Which operating systems does with happen with?
description: You may select more than one.
multiple: true
options:
- macOS
- Windows
- Linux
- type: textarea
id: notes
attributes:
label: Notes
description: Use this field to provide any other notes that you feel might be relevant to the issue.
validations:
required: false
9 changes: 5 additions & 4 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Auto Tag and Release
name: Auto Release

on:
workflow_dispatch:
Expand Down Expand Up @@ -77,16 +77,17 @@ jobs:
with:
latest-version: ${{ steps.bump_version.outputs.new_tag }}
release-notes: ${{ steps.generate_release_notes.outputs.body }}
path-to-changelog: "CHANGELOG.md"

- name: Commit updated CHANGELOG
- name: Amend updated CHANGELOG
env:
GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
run: |
git config user.name "fuelviews-app[bot]"
git config user.email "fuelviews-app[bot]@users.noreply.github.com"
git add CHANGELOG.md
git commit -m "Chore: update changelog for ${{ steps.bump_version.outputs.new_tag }} [skip ci]"
git push origin main
git commit --amend --no-edit
git push origin main --force
- name: Release
id: release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Dependabot Auto-merge
name: Dependabot Auto Merge

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/open-ai-pr-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
openai-pr-description:
runs-on: ubuntu-22.04
# Run the job only if the actor is NOT Dependabot
if: ${{ !startsWith(github.actor, 'dependabot') }
if: ${{ !startsWith(github.actor, 'dependabot') }}
steps:
- uses: platisd/openai-pr-description@master
with:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Check & Fix Styling

on:
workflow_dispatch:

pull_request:
branches:
- main

permissions:
contents: write

jobs:
php-cs-fixer:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php-cs-fixer.dist.php --allow-risky=yes

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling

0 comments on commit aaaca1a

Please sign in to comment.