Skip to content

Commit

Permalink
ci: clean up workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Oct 18, 2023
1 parent a14682d commit f2655bb
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
24 changes: 12 additions & 12 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: github-actions
directory: /
schedule:
interval: "weekly"
time: "18:00"
timezone: "Asia/Singapore"
interval: weekly
time: '18:00'
timezone: Asia/Singapore
groups:
dependencies:
patterns: ["*"]
patterns: ['*']

- package-ecosystem: "cargo"
directory: "/"
- package-ecosystem: cargo
directory: /
schedule:
interval: "daily"
time: "18:00"
timezone: "Asia/Singapore"
interval: daily
time: '18:00'
timezone: Asia/Singapore
groups:
dependencies:
patterns: ["*"]
patterns: ['*']
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [main]
branches: main
paths:
- .github/workflows/build.yml
- Dockerfile.build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Run the Docker containers
run: docker build -t $REPOSITORY_NAME .
env:
REPOSITORY_NAME: ${{ github.event.repository.name }}
REPOSITORY_NAME: ${{ github.event.repository.name }}

auto-merge:
needs: build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Deploy

on:
push:
branches: [main]
paths: [Dockerfile]
branches: main
paths: Dockerfile

jobs:
deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/warmer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Warm

on:
push:
paths: [.github/workflows/warmer.yml]
paths: .github/workflows/warmer.yml
schedule:
# ┌──────────────── minute (0 - 59)
# │ ┌────────────── hour (0 - 23)
Expand Down

0 comments on commit f2655bb

Please sign in to comment.