Skip to content

Commit

Permalink
feat: verify does-build on cron (#28)
Browse files Browse the repository at this point in the history
* feat: verify `does-build` on cron

* build docs verification

* `GIT_WORKFLOW_PAT`

* rm assignees
  • Loading branch information
Reecepbcups authored Nov 8, 2024
1 parent deede9c commit cb8af45
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/cron-latest-commits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
# From verify deployments workflow
- uses: actions/checkout@v4

- name: Check for PAT
run: |
if [ -z "${{ secrets.GIT_WORKFLOW_PAT }}" ]; then
echo "Please set the GIT_WORKFLOW_PAT secret to support PR workflow runs on generate"
exit 1
fi
- name: grab latest commits
run: make latest-commits

Expand All @@ -35,11 +42,15 @@ jobs:
commit-message: "chore: sync latest"
delete-branch: true
signoff: false
# https://github.com/orgs/community/discussions/55906#discussioncomment-5946239
# https://github.com/settings/personal-access-tokens/new
# To verify the PR, we must set a PAT token in the secrets
token: ${{ secrets.GIT_WORKFLOW_PAT }}
# https://github.com/interchainio/dev-portal-docsite/issues/labels
labels: |
automated pr
# TODO: codeowners/group in the future w/ team-reviewers
assignees: reecepbcups
reviewers: reecepbcups
# assignees: reecepbcups
# reviewers: reecepbcups
body: |
Syncing the latest file commits from upstream.

0 comments on commit cb8af45

Please sign in to comment.