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
2 changes: 0 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,3 @@ jobs:
contents: write
pages: write
id-token: write
secrets:
token: ${{ github.token }}
6 changes: 3 additions & 3 deletions .github/workflows/docs-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ on:
default: "workflow"
secrets:
token:
description: "GitHub Token"
required: true
description: "deprecated, not used."
required: false

jobs:
docs-cleanup:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Cleanup old documentation
working-directory: gh-pages-cleanup
env:
GH_TOKEN: ${{ secrets.token }}
GH_TOKEN: ${{ github.token }}
run: |
gh auth status

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ permissions:

jobs:
docs-cleanup:
uses: eclipse-score/cicd-workflows/.github/workflows/docs-cleanup.yml@main
# Pin a version via vX.Y.Z tag or even better via a commit SHA for immutability.
# Treat @main as experimental!
uses: eclipse-score/cicd-workflows/.github/workflows/docs-cleanup.yml@vX.Y.Z
with:
workflow-version: main
secrets:
Expand Down
Loading