Skip to content

Commit

Permalink
Don't trigger container publish workflow for each push
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jan 1, 2025
1 parent a14e181 commit 8bd6b49
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@ on:
push:
tags:
- 'v*'
branches:
- main
paths:
- '.github/workflows/container.yml'
- 'containers/**'
- '.containerignore'
- 'flake.*'
- 'home-manager/**'
- 'config/**'
- '!**.md'
# Don't add branch trigger, this workflow is heavy and required to consider concurrency
# branches:
# - main
pull_request:
types:
- labeled
schedule:
# Every 11:42 and 23:42 JST
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '42 2,14 * * *'
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 8bd6b49

Please sign in to comment.