Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Aug 25, 2024
1 parent 2d96632 commit b014fcb
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,16 @@ jobs:
- "8.3"

steps:
# workaround for missing secret in fork PRs - see https://github.com/actions/checkout/issues/298
# see https://github.com/rectorphp/rector/commit/d395e1c28b8e6a56711dcc2e10490a82965850e4
- if: github.actor != 'dependabot[bot]'
name: "Checkout"
uses: "actions/checkout@v4"
with:
ref: "${{ github.head_ref }}"
# Must be used to be able to commit changed files
token: "${{ secrets.SENSIOLABS_DE_BOT_TOKEN }}"

# in forks, the token is not available - so we cannot use it
- if: github.actor == 'dependabot[bot]'
name: "Checkout"
uses: "actions/checkout@v4"
with:
ref: "${{ github.head_ref }}"
- name: "Checkout code"
uses: actions/checkout@v3

-
name: "Install PHP with extensions"
uses: "shivammathur/setup-php@2.31.1"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"
extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}"
tools: "composer:v2"

-
Expand Down

0 comments on commit b014fcb

Please sign in to comment.