Skip to content

Commit 123c189

Browse files
authored
Comment out scheduled cron job in collection and playbook project (#402)
1 parent 2023629 commit 123c189

File tree

4 files changed

+12
-8
lines changed
  • src/ansible_creator/resources
  • tests/fixtures
    • collection/testorg/testcol/.github/workflows
    • project/playbook_project/.github/workflows

4 files changed

+12
-8
lines changed

src/ansible_creator/resources/collection_project/.github/workflows/tests.yml.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on: # yamllint disable-line rule:truthy
99
pull_request:
1010
branches: [main]
1111
workflow_dispatch:
12-
schedule:
13-
- cron: '0 0 * * *'
12+
# TO-DO: Following cron job is currently commented out. Enable it as per requirement.
13+
# schedule:
14+
# - cron: '0 0 * * *'
1415

1516
jobs:
1617
changelog:

src/ansible_creator/resources/playbook_project/.github/workflows/tests.yml.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on: # yamllint disable-line rule:truthy
99
pull_request:
1010
branches: [main]
1111
workflow_dispatch:
12-
schedule:
13-
- cron: '0 0 * * *'
12+
# TO-DO: Following cron job is currently commented out. Enable it as per requirement.
13+
# schedule:
14+
# - cron: '0 0 * * *'
1415

1516
jobs:
1617
ansible-lint:

tests/fixtures/collection/testorg/testcol/.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on: # yamllint disable-line rule:truthy
99
pull_request:
1010
branches: [main]
1111
workflow_dispatch:
12-
schedule:
13-
- cron: '0 0 * * *'
12+
# TO-DO: Following cron job is currently commented out. Enable it as per requirement.
13+
# schedule:
14+
# - cron: '0 0 * * *'
1415

1516
jobs:
1617
changelog:

tests/fixtures/project/playbook_project/.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on: # yamllint disable-line rule:truthy
99
pull_request:
1010
branches: [main]
1111
workflow_dispatch:
12-
schedule:
13-
- cron: '0 0 * * *'
12+
# TO-DO: Following cron job is currently commented out. Enable it as per requirement.
13+
# schedule:
14+
# - cron: '0 0 * * *'
1415

1516
jobs:
1617
ansible-lint:

0 commit comments

Comments
 (0)