Skip to content
Merged
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
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@
/phpunit.xml export-ignore
/pint.json export-ignore
/rector.php export-ignore
/.depot export-ignore
/renovate.json export-ignore
10 changes: 2 additions & 8 deletions .depot/workflows/audit.yml → .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# Depot CI Migration
# Source: .github/workflows/audit.yml
#
# Changes made:
# - Changed GitHub runs-on labels to their Depot equivalents

name: audit

# Advisories come out between pushes, so the dependencies are checked every
Expand All @@ -20,7 +14,7 @@ permissions:

jobs:
php:
runs-on: depot-ubuntu-latest # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand All @@ -36,7 +30,7 @@ jobs:
- run: composer audit --abandoned=report

js:
runs-on: depot-ubuntu-latest # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
runs-on: ubuntu-latest
defaults:
run:
working-directory: js
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: docs

# keyringphp.com builds its docs from docs/ on main. When they change, ask the
# site's repository to rebuild and deploy (its deploy workflow listens for the
# "docs" dispatch).
on:
push:
branches: [main]
paths: ['docs/**']
workflow_dispatch:

# Nothing here reads or writes this repository.
permissions: {}

jobs:
site:
runs-on: ubuntu-latest
steps:
# SITE_DISPATCH_TOKEN: a fine-grained token with Contents: write on
# keyringphp/keyringphp.com, which repository dispatches need.
- run: gh api repos/keyringphp/keyringphp.com/dispatches -f event_type=docs
env:
GH_TOKEN: ${{ secrets.SITE_DISPATCH_TOKEN }}
14 changes: 4 additions & 10 deletions .depot/workflows/tests.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# Depot CI Migration
# Source: .github/workflows/tests.yml
#
# Changes made:
# - Changed GitHub runs-on labels to their Depot equivalents

name: tests

on:
Expand All @@ -22,7 +16,7 @@ concurrency:

jobs:
tests:
runs-on: depot-ubuntu-latest # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -57,7 +51,7 @@ jobs:

# The oldest versions composer.json allows, so its floors stay true.
lowest:
runs-on: depot-ubuntu-latest # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
runs-on: ubuntu-latest
name: tests (lowest dependencies)
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -77,7 +71,7 @@ jobs:
KEYRING_TEST_LOWEST: 1

databases:
runs-on: depot-ubuntu-latest # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -123,7 +117,7 @@ jobs:
- run: vendor/bin/pest --testsuite=Concurrency

js:
runs-on: depot-ubuntu-latest # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
runs-on: ubuntu-latest
defaults:
run:
working-directory: js
Expand Down
3 changes: 0 additions & 3 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": ["github-actions"],
"github-actions": {
"managerFilePatterns": ["/(^|/)\\.depot/workflows/.+\\.ya?ml$/"]
},
"minimumReleaseAge": "5 days",
"schedule": ["before 6am on monday"],
"packageRules": [
Expand Down