Skip to content

Commit 04c7b3a

Browse files
authored
Update sync_docs.yaml (#175)
A [new `sync_docs.yaml` workflow](canonical/data-platform-workflows#220) was released in data-platform-workflows `v19.2.0`. It overwrites the old experimental `_sync_docs.yaml` workflow and releases it to the public interface. This PR: * Corrects the filename to match the new syntax without the experimental `_` prefix. * Removes the now unnecessary Discourse API credentials * Adds automatic reviewers
1 parent 2816e5f commit 04c7b3a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/sync_docs.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ name: Sync docs from Discourse
55
on:
66
workflow_dispatch:
77
schedule:
8-
- cron: 40 00 * * *
8+
- cron: '53 0 * * *' # Daily at 00:53 UTC
99

1010
jobs:
1111
sync-docs:
1212
name: Sync docs from Discourse
13-
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
14-
secrets:
15-
discourse-api-user: ${{ secrets.DISCOURSE_API_USERNAME }}
16-
discourse-api-key: ${{ secrets.DISCOURSE_API_KEY }}
13+
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
14+
with:
15+
reviewers: a-velasco
1716
permissions:
1817
contents: write # Needed to push branch & tag
1918
pull-requests: write # Needed to create PR

0 commit comments

Comments
 (0)