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
8 changes: 4 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ concurrency:

jobs:
changes:
uses: lernapps/tooling/.github/workflows/changes.yml@70876be03b2a59be2a2fa853def34ebb42348430 # main
uses: lernapps/tooling/.github/workflows/changes.yml@858d312fd4a0093a8dd4d6afc40cfecd3a61b303 # main
with:
tooling-ref: 70876be03b2a59be2a2fa853def34ebb42348430 # the classifier of the same commit
tooling-ref: 858d312fd4a0093a8dd4d6afc40cfecd3a61b303 # the classifier of the same commit

build: # builds and checks the site
needs: changes
if: needs.changes.outputs.site == 'true'
runs-on: ubuntu-latest
steps:
- uses: lernapps/tooling/actions/site-check@70876be03b2a59be2a2fa853def34ebb42348430 # main
- uses: lernapps/tooling/actions/site-check@858d312fd4a0093a8dd4d6afc40cfecd3a61b303 # main

deploy:
if: github.ref == 'refs/heads/main' && needs.changes.outputs.site == 'true'
Expand All @@ -41,7 +41,7 @@ jobs:
permissions:
contents: write
steps:
- uses: lernapps/tooling/actions/site-deploy@70876be03b2a59be2a2fa853def34ebb42348430 # main
- uses: lernapps/tooling/actions/site-deploy@858d312fd4a0093a8dd4d6afc40cfecd3a61b303 # main

site: # required status check: always runs, fails when a job above failed or was cancelled
needs: [changes, build, deploy]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ concurrency:

jobs:
changes:
uses: lernapps/tooling/.github/workflows/changes.yml@70876be03b2a59be2a2fa853def34ebb42348430 # main
uses: lernapps/tooling/.github/workflows/changes.yml@858d312fd4a0093a8dd4d6afc40cfecd3a61b303 # main
with:
tooling-ref: 70876be03b2a59be2a2fa853def34ebb42348430 # the classifier of the same commit
tooling-ref: 858d312fd4a0093a8dd4d6afc40cfecd3a61b303 # the classifier of the same commit
permissions:
contents: read

Expand All @@ -39,7 +39,7 @@ jobs:
PDT42_DIFF_BASE: origin/${{ github.base_ref }} # the build renders the changes since the merge base
steps:
- id: preview
uses: lernapps/tooling/actions/site-preview@70876be03b2a59be2a2fa853def34ebb42348430 # main
uses: lernapps/tooling/actions/site-preview@858d312fd4a0093a8dd4d6afc40cfecd3a61b303 # main
with:
site: /docs/
fetch-depth: 0 # the diff needs the base branch
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/preview-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:

jobs:
cleanup:
uses: lernapps/tooling/.github/workflows/preview-cleanup.yml@70876be03b2a59be2a2fa853def34ebb42348430 # main
uses: lernapps/tooling/.github/workflows/preview-cleanup.yml@858d312fd4a0093a8dd4d6afc40cfecd3a61b303 # main
with:
tooling-ref: 70876be03b2a59be2a2fa853def34ebb42348430 # the script of the same commit
tooling-ref: 858d312fd4a0093a8dd4d6afc40cfecd3a61b303 # the script of the same commit
dry-run: ${{ inputs.dry-run == true }}