From ba07c549727f1ea088defb34418c6310283041c5 Mon Sep 17 00:00:00 2001 From: Tang Rufus Date: Mon, 30 Dec 2024 04:09:13 +0000 Subject: [PATCH] New workflow: `Composer Normalize` (#13) --- .github/workflows/composer-normalize.yml | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/composer-normalize.yml diff --git a/.github/workflows/composer-normalize.yml b/.github/workflows/composer-normalize.yml new file mode 100644 index 0000000..55d786b --- /dev/null +++ b/.github/workflows/composer-normalize.yml @@ -0,0 +1,31 @@ +name: Composer Normalize + +on: + workflow_call: + inputs: + # shivammathur/setup-php + php-version: + description: Setup PHP version. + default: '8.4' + type: string + + composer-normalize-version: # tools + description: Setup composer-normalize version. + default: '2' + type: string + +permissions: {} + +jobs: + composer-normalize: + uses: typisttech/.github/.github/workflows/create-auto-merged-pull-request-php.yml@v2 + permissions: + contents: read + with: + command: composer-normalize + php-version: ${{ inputs.php-version }} + tools: composer-normalize:${{ inputs.composer-normalize-version }} + composer-install: false + branch: tastendruck/composer-normalize/${{ github.ref_name }} + labels: composer-normalize + secrets: inherit