Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,46 @@ jobs:
- name: "Checkout"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
show-progress: false

- name: "Install actionlint"
id: actionlint
run: bash <(curl -fsSL https://raw.githubusercontent.com/rhysd/actionlint/v1.7.12/scripts/download-actionlint.bash) 1.7.12

- name: "Run actionlint"
env:
ACTIONLINT: "${{ steps.actionlint.outputs.executable }}"
run: |
echo "::add-matcher::.github/actionlint-matcher.json"
trap 'echo "::remove-matcher owner=actionlint::"' EXIT
"${{ steps.actionlint.outputs.executable }}" -color
"$ACTIONLINT" -color

lint-zizmor:
name: "Audit workflows"
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
- name: "Checkout"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
show-progress: false

- name: "Run zizmor"
uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
with:
inputs: "."
version: "1.29.0"
advanced-security: false
annotations: true

ci:
name: "Execute (PHP ${{ matrix.php-version }} with ${{ matrix.dependencies }} deps, composer v${{ matrix.composer-version}}.x, symfony v${{ matrix.symfony-version }})"
runs-on: "ubuntu-24.04"
permissions:
contents: read

strategy:
matrix:
Expand All @@ -57,6 +82,7 @@ jobs:
- name: "Checkout"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
show-progress: false

- name: "Install PHP"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
with:
client-id: ${{ secrets.LENDABOT_APP_ID }}
private-key: ${{ secrets.LENDABOT_APP_PRIVATE_KEY }}
permission-contents: write
permission-pull-requests: write

- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5
id: release
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/sloth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
sloth:
runs-on: ubuntu-24.04
permissions:
checks: read
contents: read
steps:
- name: Sloth
uses: lendable/sloth@v1
Expand Down
5 changes: 5 additions & 0 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rules:
unpinned-uses:
config:
policies:
"lendable/*": ref-pin
Loading