From 305d6133d5ff90ea867f3c22abc27316b5e99b9f Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Sat, 21 Sep 2024 09:59:42 +0200 Subject: [PATCH] Remove Dependabot config and streamline release workflow Deleted the dependabot.yml file to discontinue automated dependency updates. Simplified the release workflow by combining the dependency installation step and removing the unnecessary Composer token setup. This should reduce redundant actions and improve the maintainability of the workflow script. --- .github/dependabot.yml | 19 ------------------- .github/workflows/release.yml | 12 +++--------- 2 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 8da8957..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "composer" - directory: "/" - schedule: - interval: "weekly" - day: "friday" - versioning-strategy: "widen" - open-pull-requests-limit: 20 - allow: - - dependency-type: all - labels: [ "dependencies" ] - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "monthly" - open-pull-requests-limit: 20 - labels: [ "dependencies" ] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5db1fa..2691d33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,13 +29,10 @@ jobs: coverage: none ini-values: memory_limit=1G, phar.readonly=0 - - name: 'Setup Composer Token' - run: | - if [ ! -z '${{ secrets.COMPOSER_TOKEN }}' ]; then - composer config github-oauth.github.com ${{ secrets.COMPOSER_TOKEN }} - fi + - name: 'Install Project Dependencies' + run: composer install --no-interaction --no-ansi --no-progress - - name: 'Compile the application (Linux)' + - name: 'Compile the application' run: | vendor/bin/castor repack --os={{ matrix.os }} --app-name=beaver --app-version=${{ github.ref_name }} vendor/bin/castor compile beaver.linux.phar --php-version=${{ matrix.php }} --arch={{ matrix.arch }} --os={{ matrix.os }} @@ -43,9 +40,6 @@ jobs: - name: 'Move applications' run: mv beaver.* ./bin/ - - name: 'Install Project Dependencies' - run: composer install --no-interaction --no-ansi --no-progress - - name: 'Create Release' uses: ncipollo/release-action@v1 with: