github: Don't skip rebuilding a docker image on main because it was built on a branch

This commit is contained in:
Valentin Tolmer 2023-03-28 18:49:17 +02:00 committed by nitnelave
parent aad4711056
commit fc91d59b99

View File

@ -76,7 +76,7 @@ jobs:
uses: fkirc/skip-duplicate-actions@master uses: fkirc/skip-duplicate-actions@master
with: with:
concurrent_skipping: 'outdated_runs' concurrent_skipping: 'outdated_runs'
skip_after_successful_duplicate: 'true' skip_after_successful_duplicate: ${{ env.GITHUB_REF != 'refs/heads/main' }}
paths_ignore: '["**/*.md", "**/docs/**", "example_configs/**", "*.sh", ".gitignore", "lldap_config.docker_template.toml"]' paths_ignore: '["**/*.md", "**/docs/**", "example_configs/**", "*.sh", ".gitignore", "lldap_config.docker_template.toml"]'
do_not_skip: '["workflow_dispatch", "schedule"]' do_not_skip: '["workflow_dispatch", "schedule"]'
cancel_others: true cancel_others: true