Skip to content

Commit

Permalink
Sync theme (#54)
Browse files Browse the repository at this point in the history
* add dependabot

* keep sync_theme alive
  • Loading branch information
ocefpaf authored Jun 14, 2024
1 parent 1f9ea6f commit d53d781
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# See https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "Bot"
groups:
github-actions:
patterns:
- '*'
12 changes: 11 additions & 1 deletion .github/workflows/sync_theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4

- name: submodule checkout
run: |
Expand All @@ -38,3 +38,13 @@ jobs:
timestamp=$(date -u)
git commit -m "Update theme on: ${timestamp}" || exit 0
git push
keepalive-job:
name: Keepalive Workflow
runs-on: ubuntu-latest
if: github.event_name == 'schedule'
permissions:
actions: write
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4
- uses: gautamkrishnar/keepalive-workflow@beb86212524e1ae856d1cd80efb44e73bf7daf4a # 2.0.1

0 comments on commit d53d781

Please sign in to comment.