diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index bbe6c49..ed29355 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -15,7 +15,7 @@ jobs: id: metadata uses: dependabot/fetch-metadata@v1.6 with: - github-token: "${{ secrets.GITHUB_TOKEN }}" + github-token: ${{ secrets.MY_GITHUB_TOKEN }} - name: Auto-merge Dependabot PRs for semver-minor updates if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}} diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 9165ade..51ae727 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -10,13 +10,17 @@ jobs: phpstan: name: phpstan runs-on: ubuntu-latest + + env: + PHP_VERSION: '8.3' + steps: - uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: ${{ env.PHP_VERSION }} coverage: none - name: Install composer dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0847f2f..edd3131 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,12 @@ jobs: release: name: Release runs-on: ubuntu-latest + + env: + INITIAL_VERSION: 11.0.0 + RELEASE_BRANCHES: main + DEFAULT_BUMP: patch + steps: - uses: actions/checkout@v4 with: @@ -19,6 +25,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} WITH_V: true - INITIAL_VERSION: 11.0.0 - RELEASE_BRANCHES: main - DEFAULT_BUMP: patch \ No newline at end of file + INITIAL_VERSION: ${{ env.INITIAL_VERSION }} + RELEASE_BRANCHES: ${{ env.RELEASE_BRANCHES }} + DEFAULT_BUMP: ${{ env.DEFAULT_BUMP }} \ No newline at end of file