Skip to content

Commit

Permalink
💬 - Files Synced | Runner ID : 26 | ⚡ Triggered By fuelviews/github-w…
Browse files Browse the repository at this point in the history
…orkflow-sync
  • Loading branch information
Workflow Sync Bot committed Apr 5, 2024
1 parent 783229f commit aae0e18
Show file tree
Hide file tree
Showing 7 changed files with 104 additions and 17 deletions.
34 changes: 19 additions & 15 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "weekly"
labels:
- "dependencies"

- package-ecosystem: "composer"
directory: "/"
interval: 'monthly'
reviewers:
- 'thejmitchener'
target-branch: main
- package-ecosystem: 'composer'
directory: '/'
schedule:
interval: "weekly"
labels:
- "dependencies"
interval: 'weekly'
reviewers:
- 'thejmitchener'
target-branch: main
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'monthly'
reviewers:
- 'thejmitchener'
target-branch: main
1 change: 1 addition & 0 deletions .github/funding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: Fuelviews
40 changes: 40 additions & 0 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Auto Tag and Release

on:
push:
pull_request:
types: [closed]
branches:
- main

jobs:
release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: 'main'
fetch-depth: '0'

- name: Bump version and push tag
id: bump_version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
WITH_V: true
RELEASE_BRANCHES: main

- name: Create GitHub Release
if: steps.bump_version.outputs.new_tag
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.bump_version.outputs.new_tag }}
release_name: ${{ steps.bump_version.outputs.new_tag }}
draft: true
prerelease: false
2 changes: 2 additions & 0 deletions .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Fix PHP code style issues

on:
push:
branches-ignore:
- main
paths:
- '**.php'

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/open-ai-pr-description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Autofill PR description

on: pull_request

jobs:
openai-pr-description:
runs-on: ubuntu-22.04

steps:
- uses: platisd/openai-pr-description@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
openai_api_key: ${{ secrets.OPEN_AI_PR_DESCRIPTION_API_KEY }}
28 changes: 28 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: PHPStan

on:
push:
paths:
- '**.php'
- 'phpstan.neon.dist'
- '.github/workflows/phpstan.yml'

jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none

- name: Install composer dependencies
uses: ramsey/composer-install@v3

- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github
3 changes: 1 addition & 2 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: "Update Changelog"

on:
release:
types: [released]

permissions:
contents: write
Expand All @@ -16,7 +15,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: main
ref: 'main'

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
Expand Down

0 comments on commit aae0e18

Please sign in to comment.